add clearfix to control-group for longer labels and any other unforeseen circumstances
This commit is contained in:
parent
d0447e9aa5
commit
78120edf72
|
@ -951,6 +951,14 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
|
||||||
}
|
}
|
||||||
.form-horizontal .control-group {
|
.form-horizontal .control-group {
|
||||||
margin-bottom: 18px;
|
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 {
|
.form-horizontal .control-group > label {
|
||||||
float: left;
|
float: left;
|
||||||
|
|
|
@ -505,6 +505,7 @@ select:focus:required:invalid {
|
||||||
// Increase spacing between groups
|
// Increase spacing between groups
|
||||||
.control-group {
|
.control-group {
|
||||||
margin-bottom: @baseLineHeight;
|
margin-bottom: @baseLineHeight;
|
||||||
|
.clearfix();
|
||||||
}
|
}
|
||||||
// Float the labels left
|
// Float the labels left
|
||||||
.control-group > label {
|
.control-group > label {
|
||||||
|
|
Loading…
Reference in New Issue