From 18de0da704703f0af3b9307ff3bef42e20f1f1f9 Mon Sep 17 00:00:00 2001 From: Geoff Kimball Date: Mon, 8 Feb 2016 14:23:29 -0800 Subject: [PATCH] Fix specificity issue that prevented input group buttons from displaying properly --- scss/forms/_input-group.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scss/forms/_input-group.scss b/scss/forms/_input-group.scss index 8d825aa1e..da61d6405 100644 --- a/scss/forms/_input-group.scss +++ b/scss/forms/_input-group.scss @@ -46,7 +46,7 @@ $input-prefix-padding: 1rem !default; %input-group-child { margin: 0; - + @if not $global-flexbox { display: table-cell; vertical-align: middle; @@ -86,7 +86,7 @@ $input-prefix-padding: 1rem !default; .input-group-field { @extend %input-group-child; border-radius: 0; - + @if $global-flexbox { flex: 1 1 0px; width: auto; @@ -117,4 +117,10 @@ $input-prefix-padding: 1rem !default; margin: 0; } } + + // Specificity bump needed to prevent override by buttons + // scss-lint:disable QualifyingSelector + .input-group .input-group-button { + display: table-cell; + } } -- 2.47.2