From: Kevin Ball Date: Wed, 18 May 2016 22:30:55 +0000 (-0700) Subject: Fix opens-inner to work properly in rtl X-Git-Tag: v6.2.2-rc2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8809%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix opens-inner to work properly in rtl --- diff --git a/scss/components/_dropdown-menu.scss b/scss/components/_dropdown-menu.scss index 50a5a30b3..0ce9c1f53 100644 --- a/scss/components/_dropdown-menu.scss +++ b/scss/components/_dropdown-menu.scss @@ -165,8 +165,13 @@ $dropdownmenu-border-width: nth($dropdownmenu-border, 1); } &.opens-inner > .is-dropdown-submenu { + top: 100%; - left: auto; + @if $global-text-direction == 'rtl' { + right: auto; + } @else { + left: auto; + } } &.opens-left > .is-dropdown-submenu {