0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-18 15:54:26 +01:00
Kevin Kirsche 0ee7602284 [Fixes #15691] .form-control-static changes height when empty
[Fixes #15691] .form-control-static changes height when empty by setting the minimum height to the size it is when text is in the `.form-control-static`

JSFiddle: http://jsfiddle.net/4pdo4yzo/

Compute the minimum height

@line-height-computed = ~20px
@font-size-base = 14px

This should come to approx. 34px

Add min-height to from-group-* per @cvrebert

I had this wrong. The minimum height would depend on the font-size of that specific group, thus we need to declare it once for font-size-small and once also for font-size-large
2015-02-19 18:02:51 -05:00
..
2014-07-22 08:25:35 +03:00
2014-01-05 21:29:26 -08:00
2015-01-19 21:26:01 +01:00
2014-01-28 10:48:45 +01:00
2014-04-26 15:24:25 -04:00
2015-01-19 21:26:01 +01:00
2014-03-07 18:54:53 +01:00
2014-10-07 11:29:59 +03:00
2014-12-19 18:19:18 -08:00
2013-10-30 14:10:16 +01:00