From: weiyoung.zhou Date: Mon, 12 Oct 2015 08:12:12 +0000 (+0800) Subject: fix label.inline, for label font size is not 14 X-Git-Tag: v6.0.0~17^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6934%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fix label.inline, for label font size is not 14 --- diff --git a/scss/foundation/components/_forms.scss b/scss/foundation/components/_forms.scss index f9e5f352e..990bed928 100644 --- a/scss/foundation/components/_forms.scss +++ b/scss/foundation/components/_forms.scss @@ -180,7 +180,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default; } @else if $alignment == inline { margin: 0 0 $form-spacing 0; - padding: $form-spacing / 2 + rem-calc($input-border-width) 0; + line-height: $input-font-size + ($form-spacing * 1.5); } }