From 70ddc266db31c588e93d985ca6ffb500474ed0f0 Mon Sep 17 00:00:00 2001 From: Shaun Simmons Date: Wed, 30 Aug 2017 16:59:44 -0400 Subject: [PATCH] Fixes #9344 --- scss/forms/_input-group.scss | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/scss/forms/_input-group.scss b/scss/forms/_input-group.scss index e26618a87..804a27bf2 100644 --- a/scss/forms/_input-group.scss +++ b/scss/forms/_input-group.scss @@ -22,7 +22,7 @@ $input-prefix-border: 1px solid $medium-gray !default; $input-prefix-padding: 1rem !default; @mixin foundation-form-prepostfix { - $height: ($input-font-size + $form-spacing * 1.5); + $height: ($input-font-size * $input-line-height) + (get-side($input-padding, 'top') + get-side($input-padding, 'bottom')) - rem-calc(1);; .input-group { display: if($global-flexbox, flex, table); @@ -91,12 +91,8 @@ $input-prefix-padding: 1rem !default; @if $global-flexbox { flex: 1 1 0px; // sass-lint:disable-line zero-unit - height: auto; min-width: 0; } - @else { - height: $height; - } } .input-group-button { @@ -135,8 +131,8 @@ $input-prefix-padding: 1rem !default; // Specificity bump needed to prevent override by buttons @if not $global-flexbox { - .input-group .input-group-button { - display: table-cell; - } + .input-group .input-group-button { + display: table-cell; + } } } -- 2.47.2