]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix menu wrapping issue 10221/head
authorBrett Mason <brettsmason@users.noreply.github.com>
Tue, 20 Jun 2017 19:31:52 +0000 (20:31 +0100)
committerGitHub <noreply@github.com>
Tue, 20 Jun 2017 19:31:52 +0000 (20:31 +0100)
Fixes issue identified with incorrect `wrap`/`nowrap` usage with the reworked menus.

scss/components/_menu.scss

index c2e28019c770a9fa3ee1a04d29362b31fe676e2a..afe9e9a1f0a37bc82d5fbd668f086e97a578086f 100644 (file)
@@ -47,7 +47,7 @@ $menu-item-background-hover: $light-gray !default;
 
   @if $global-flexbox {
     display: flex;
-    flex-wrap: nowrap;
+    flex-wrap: wrap;
   }
 
   li {
@@ -160,7 +160,7 @@ $menu-item-background-hover: $light-gray !default;
 @mixin menu-direction($dir: horizontal) {
   @if $dir == horizontal {
     @if $global-flexbox {
-      flex-wrap: nowrap;
+      flex-wrap: wrap;
       flex-direction: row;
     }
     @else {
@@ -171,7 +171,7 @@ $menu-item-background-hover: $light-gray !default;
   }
   @else if $dir == vertical {
     @if $global-flexbox {
-      flex-wrap: wrap;
+      flex-wrap: nowrap;
       flex-direction: column;
     }
     @else {