From: harry Date: Thu, 22 Jun 2017 17:37:54 +0000 (+0530) Subject: Fix #10229 - Add align item center to `.menu.simple`! X-Git-Tag: v6.4.0-rc5~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10235%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix #10229 - Add align item center to `.menu.simple`! --- diff --git a/scss/components/_menu.scss b/scss/components/_menu.scss index afe9e9a1f..addbe0d2f 100644 --- a/scss/components/_menu.scss +++ b/scss/components/_menu.scss @@ -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
  • that receives the margin. /// @param {Number} $margin [$menu-simple-margin] - The margin to apply to each
  • . @mixin menu-simple($dir: $global-left, $margin: $menu-simple-margin) { + @if $global-flexbox { + align-items: center; + } + li + li { margin-#{$dir}: $margin; }