]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
reset menu input to be inline-block 10259/head
authorKevin Ball <kmball11@gmail.com>
Mon, 26 Jun 2017 19:38:08 +0000 (12:38 -0700)
committerKevin Ball <kmball11@gmail.com>
Mon, 26 Jun 2017 19:38:08 +0000 (12:38 -0700)
scss/components/_menu.scss

index af4e89a0560865669c44aaee18aa037bdb0ce309..62e2dc90260197c730cfc54b388809eb6390cdd6 100644 (file)
@@ -70,6 +70,10 @@ $menu-item-background-hover: $light-gray !default;
   button {
     margin-bottom: 0;
   }
+
+  input {
+    display: inline-block;
+  }
 }
 
 /// Expands the items of a Menu, so each item is the same width.
@@ -192,7 +196,7 @@ $menu-item-background-hover: $light-gray !default;
   @if $global-flexbox {
     align-items: center;
   }
-  
+
   li + li {
     margin-#{$dir}: $margin;
   }
@@ -212,12 +216,12 @@ $menu-item-background-hover: $light-gray !default;
   @if $nested-alignment == right {
     margin-#{$global-right}: $margin;
     margin-#{$global-left}: 0;
-  } 
+  }
   @else {
     margin-#{$global-right}: 0;
     margin-#{$global-left}: $margin;
   }
-  
+
 }
 
 /// Adds basic styles for icons in menus.