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, .radio,
.checkbox { .checkbox {
overflow: auto;
padding-left: 18px; padding-left: 18px;
} }
.radio input[type="radio"], .radio input[type="radio"],

View file

@ -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"],