Commit 9e9be2dc authored by Mark Otto's avatar Mark Otto
Browse files

fix #2989: clear .checkbox/.radio floats

parent 2dbce887
No related merge requests found
Showing with 2 additions and 0 deletions
+2 -0
No preview for this file type
...@@ -729,6 +729,7 @@ input[type="hidden"] { ...@@ -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"] { ...@@ -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"],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment