aboutsummaryrefslogtreecommitdiff
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
parent2dbce887df8ffec477929c92085745af9b93feaa (diff)
downloadbootstrap-9e9be2dc0db5148e14a9fe2164dafd79c7dd71cd.tar.xz
bootstrap-9e9be2dc0db5148e14a9fe2164dafd79c7dd71cd.zip
fix #2989: clear .checkbox/.radio floats
-rw-r--r--docs/assets/bootstrap.zipbin71484 -> 71497 bytes
-rw-r--r--docs/assets/css/bootstrap.css1
-rw-r--r--less/forms.less1
3 files changed, 2 insertions, 0 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 4e3217a76..e04b76cb5 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index dc14159fb..0218e595b 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -729,6 +729,7 @@ input[type="hidden"] {
}
.radio,
.checkbox {
+ overflow: auto;
padding-left: 18px;
}
.radio input[type="radio"],
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"],