]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix opens-inner to work properly in rtl 8809/head
authorKevin Ball <kmball11@gmail.com>
Wed, 18 May 2016 22:30:55 +0000 (15:30 -0700)
committerKevin Ball <kmball11@gmail.com>
Wed, 18 May 2016 22:30:55 +0000 (15:30 -0700)
scss/components/_dropdown-menu.scss

index 50a5a30b35490a748c57a4e815e06cb3d0d1e405..0ce9c1f533b3727be3feb80aa983d670b8fa19d1 100644 (file)
@@ -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 {