mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
fix #2989: clear .checkbox/.radio floats
This commit is contained in:
Binary file not shown.
Vendored
+1
@@ -729,6 +729,7 @@ input[type="hidden"] {
|
|||||||
}
|
}
|
||||||
.radio,
|
.radio,
|
||||||
.checkbox {
|
.checkbox {
|
||||||
|
overflow: auto;
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
}
|
}
|
||||||
.radio input[type="radio"],
|
.radio input[type="radio"],
|
||||||
|
|||||||
@@ -172,6 +172,7 @@ input[type="hidden"] {
|
|||||||
// Indent the labels to position radios/checkboxes as hanging
|
// Indent the labels to position radios/checkboxes as hanging
|
||||||
.radio,
|
.radio,
|
||||||
.checkbox {
|
.checkbox {
|
||||||
|
overflow: auto; // clear the floating input if there is no label text
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
}
|
}
|
||||||
.radio input[type="radio"],
|
.radio input[type="radio"],
|
||||||
|
|||||||
Reference in New Issue
Block a user