]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fix label.inline, for label font size is not 14 6934/head
authorweiyoung.zhou <weiyoung.zhou@gmail.com>
Mon, 12 Oct 2015 08:12:12 +0000 (16:12 +0800)
committerweiyoung.zhou <weiyoung.zhou@gmail.com>
Mon, 12 Oct 2015 08:12:12 +0000 (16:12 +0800)
scss/foundation/components/_forms.scss

index f9e5f352e57942045746a15f4e53a169a9b59f97..990bed928ab5b45a277e33a1470b31e81be0f142 100644 (file)
@@ -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);
   }
 }