0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

fix #2989: clear .checkbox/.radio floats

This commit is contained in:
Mark Otto 2012-04-14 23:19:42 -07:00
parent 2dbce887df
commit 9e9be2dc0d
3 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -729,6 +729,7 @@ input[type="hidden"] {
}
.radio,
.checkbox {
overflow: auto;
padding-left: 18px;
}
.radio input[type="radio"],

View File

@ -172,6 +172,7 @@ input[type="hidden"] {
// Indent the labels to position radios/checkboxes as hanging
.radio,
.checkbox {
overflow: auto; // clear the floating input if there is no label text
padding-left: 18px;
}
.radio input[type="radio"],