]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix wrong dropdown menu arrow positioning in RTL
authorGeoff Kimball <geoff@zurb.com>
Thu, 25 Feb 2016 21:48:58 +0000 (13:48 -0800)
committerGeoff Kimball <geoff@zurb.com>
Thu, 25 Feb 2016 21:49:14 +0000 (13:49 -0800)
scss/components/_dropdown-menu.scss

index 1fe38b6077c53425b0c4e779a571459f688dc5c3..fae1c5713b1fc18937b54278a22c69619496cf19 100644 (file)
@@ -33,7 +33,7 @@ $dropdownmenu-border-width: nth($dropdownmenu-border, 1);
 
 @mixin left-right-arrows {
   > a::after {
-    right: 14px;
+    #{$global-right}: 14px;
     margin-top: -3px;
   }
 
@@ -72,7 +72,7 @@ $dropdownmenu-border-width: nth($dropdownmenu-border, 1);
 
       > li.is-dropdown-submenu-parent > a::after {
         @include css-triangle(5px, $dropdownmenu-arrow-color, down);
-        right: 5px;
+        #{$global-right}: 5px;
         margin-top: -2px;
       }
     }
@@ -160,7 +160,7 @@ $dropdownmenu-border-width: nth($dropdownmenu-border, 1);
     a::after {
       position: absolute;
       top: 50%;
-      right: 5px;
+      #{$global-right}: 5px;
       margin-top: -2px;
     }