From: Martin Westin Date: Wed, 12 Mar 2014 14:09:18 +0000 (+0100) Subject: derive pre- and postfix height from input X-Git-Tag: v5.2.1~15^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4655%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git derive pre- and postfix height from input --- diff --git a/scss/foundation/components/_forms.scss b/scss/foundation/components/_forms.scss index ce5212585..4757ec097 100644 --- a/scss/foundation/components/_forms.scss +++ b/scss/foundation/components/_forms.scss @@ -179,8 +179,8 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default; border-width: $input-prefix-border-size; overflow: $input-prefix-overflow; font-size: $form-label-font-size; - height: ($form-label-font-size + ($form-spacing * 1.5) - rem-calc(1)); - line-height: ($form-label-font-size + ($form-spacing * 1.5) - rem-calc(1)); + height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1)); + line-height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1)); } // @MIXIN