From: George Spake Date: Fri, 4 Dec 2015 02:08:06 +0000 (-0600) Subject: auto width on button inputs in topbar X-Git-Tag: v6.0.6~45^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7389%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git auto width on button inputs in topbar Inputs in the topbar use the fixed $topbar-input-width and are 200px wide by default. That applies to button inputs as well which is probably not desirable for a search submit button, for instance. This just excludes inputs with the button class from that rule. --- diff --git a/scss/components/_top-bar.scss b/scss/components/_top-bar.scss index fe841b6d1..cb9780485 100644 --- a/scss/components/_top-bar.scss +++ b/scss/components/_top-bar.scss @@ -40,6 +40,10 @@ $topbar-input-width: 200px !default; width: $topbar-input-width; margin-#{$global-right}: 1rem; } + + input.button { + width:auto; + } } @mixin foundation-top-bar {