https://github.com/twbs/bootstrap
Revision 0ee76022841b1ef4ad48050680dafe4ea43f5967 authored by Kevin Kirsche on 29 January 2015, 13:19:09 UTC, committed by Kevin Kirsche on 19 February 2015, 23:02:51 UTC
[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
1 parent a7747de
History
Tip revision: 0ee76022841b1ef4ad48050680dafe4ea43f5967 authored by Kevin Kirsche on 29 January 2015, 13:19:09 UTC
[Fixes #15691] .form-control-static changes height when empty
Tip revision: 0ee7602
File Mode Size
dist
docs
fonts
grunt
js
less
test-infra
.editorconfig -rw-r--r-- 191 bytes
.gitattributes -rw-r--r-- 184 bytes
.gitignore -rw-r--r-- 451 bytes
.travis.yml -rw-r--r-- 3.2 KB
CNAME -rw-r--r-- 17 bytes
CONTRIBUTING.md -rw-r--r-- 13.1 KB
Gruntfile.js -rw-r--r-- 13.9 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 6.2 KB
_config.yml -rw-r--r-- 1.0 KB
bower.json -rw-r--r-- 903 bytes
composer.json -rw-r--r-- 743 bytes
package.json -rw-r--r-- 2.0 KB

README.md

back to top