2
0
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:
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.
+1
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"],
+1
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"],