From: Geoff Kimball Date: Thu, 25 Feb 2016 21:48:58 +0000 (-0800) Subject: Fix wrong dropdown menu arrow positioning in RTL X-Git-Tag: v6.2.0~10^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=793bbd6cc38dc7918bb50ec4a2c1fea21ca36f95;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix wrong dropdown menu arrow positioning in RTL --- diff --git a/scss/components/_dropdown-menu.scss b/scss/components/_dropdown-menu.scss index 1fe38b607..fae1c5713 100644 --- a/scss/components/_dropdown-menu.scss +++ b/scss/components/_dropdown-menu.scss @@ -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; }