aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-04-14 23:19:42 -0700
committerMark Otto <[email protected]>2012-04-14 23:19:42 -0700
commit9e9be2dc0db5148e14a9fe2164dafd79c7dd71cd (patch)
tree010dd1e31755f9e5e266057b20cfb078f8b67514 /less/forms.less
parent2dbce887df8ffec477929c92085745af9b93feaa (diff)
downloadbootstrap-9e9be2dc0db5148e14a9fe2164dafd79c7dd71cd.tar.xz
bootstrap-9e9be2dc0db5148e14a9fe2164dafd79c7dd71cd.zip
fix #2989: clear .checkbox/.radio floats
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less1
1 files changed, 1 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less
index 1367b1fd9..dd18b91f5 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -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"],