From: Brett Mason Date: Tue, 31 Jan 2017 14:33:45 +0000 (+0000) Subject: Remove some flexbox styles that were overly opinionated. X-Git-Tag: v6.4.0-rc1~20^2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94dc8788dd151bc1f4cf097c4c65cd36e37b6ade;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Remove some flexbox styles that were overly opinionated. --- diff --git a/scss/components/_menu.scss b/scss/components/_menu.scss index de4a74edf..bfd75b034 100644 --- a/scss/components/_menu.scss +++ b/scss/components/_menu.scss @@ -48,8 +48,6 @@ $menu-item-background-hover: $light-gray !default; @if $global-flexbox { display: flex; flex-wrap: nowrap; - align-items: center; - width: 100%; } li { @@ -126,10 +124,7 @@ $menu-item-background-hover: $light-gray !default; @if $dir == horizontal { @if $global-flexbox { flex-wrap: nowrap; - - li { - flex: 0 0 auto; - } + flex-direction: row; } @else { li { @@ -140,16 +135,7 @@ $menu-item-background-hover: $light-gray !default; @else if $dir == vertical { @if $global-flexbox { flex-wrap: wrap; - - li { - flex: 0 0 100%; - max-width: 100%; - } - - a { - justify-content: flex-start; - align-items: flex-start; - } + flex-direction: column; } @else { li {