From c980b2d417d6b7b1529389be29265986a62bcd78 Mon Sep 17 00:00:00 2001 From: George Spake Date: Thu, 3 Dec 2015 20:08:06 -0600 Subject: [PATCH] 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. --- scss/components/_top-bar.scss | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- 2.47.2