From: Edgar Schnueriger Date: Tue, 18 Jun 2013 19:43:34 +0000 (+0200) Subject: Use correct font-size to calculate input-heights X-Git-Tag: v3.0.0-rc1~256^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a79f53899b0d1e02d41252d0753116b3a121cd0;p=thirdparty%2Fbootstrap.git Use correct font-size to calculate input-heights --- diff --git a/less/variables.less b/less/variables.less index ab0136d211..21f2837115 100644 --- a/less/variables.less +++ b/less/variables.less @@ -128,8 +128,8 @@ @input-color-placeholder: @gray-light; @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2); -@input-height-large: (@line-height-computed + (@padding-large-vertical * 2) + 8); -@input-height-small: (@line-height-computed + (@padding-small-vertical * 2) + 2); +@input-height-large: (ceil(@font-size-large * @line-height-base) + (@padding-large-vertical * 2) + 2); +@input-height-small: (ceil(@font-size-small * @line-height-base) + (@padding-small-vertical * 2) + 2); // Dropdowns