mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-19 06:18:22 +01:00
add clearfix to control-group for longer labels and any other unforeseen circumstances
This commit is contained in:
parent
d0447e9aa5
commit
78120edf72
8
docs/assets/css/bootstrap.css
vendored
8
docs/assets/css/bootstrap.css
vendored
@ -951,6 +951,14 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
|
||||
}
|
||||
.form-horizontal .control-group {
|
||||
margin-bottom: 18px;
|
||||
*zoom: 1;
|
||||
}
|
||||
.form-horizontal .control-group:before, .form-horizontal .control-group:after {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
.form-horizontal .control-group:after {
|
||||
clear: both;
|
||||
}
|
||||
.form-horizontal .control-group > label {
|
||||
float: left;
|
||||
|
@ -505,6 +505,7 @@ select:focus:required:invalid {
|
||||
// Increase spacing between groups
|
||||
.control-group {
|
||||
margin-bottom: @baseLineHeight;
|
||||
.clearfix();
|
||||
}
|
||||
// Float the labels left
|
||||
.control-group > label {
|
||||
|
Loading…
x
Reference in New Issue
Block a user