]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix #10229 - Add align item center to `.menu.simple`! 10235/head
authorharry <harmanmanchanda182@gmail.com>
Thu, 22 Jun 2017 17:37:54 +0000 (23:07 +0530)
committerharry <harmanmanchanda182@gmail.com>
Thu, 22 Jun 2017 17:37:54 +0000 (23:07 +0530)
scss/components/_menu.scss

index afe9e9a1f0a37bc82d5fbd668f086e97a578086f..addbe0d2f85e06f58c041e0c99c609d6188f30bf 100644 (file)
@@ -189,6 +189,10 @@ $menu-item-background-hover: $light-gray !default;
 /// @param {Keyword} $dir [$global-left] - Direction of the menu. This effects the side of the <li> that receives the margin.
 /// @param {Number} $margin [$menu-simple-margin] - The margin to apply to each <li>.
 @mixin menu-simple($dir: $global-left, $margin: $menu-simple-margin) {
+  @if $global-flexbox {
+    align-items: center;
+  }
+  
   li + li {
     margin-#{$dir}: $margin;
   }