mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-30 15:24:08 +03:00
add clearfix to control-group for longer labels and any other unforeseen circumstances
This commit is contained in:
Vendored
+8
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user