From 9e9be2dc0db5148e14a9fe2164dafd79c7dd71cd Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 14 Apr 2012 23:19:42 -0700 Subject: fix #2989: clear .checkbox/.radio floats --- docs/assets/bootstrap.zip | Bin 71484 -> 71497 bytes docs/assets/css/bootstrap.css | 1 + less/forms.less | 1 + 3 files changed, 2 insertions(+) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 4e3217a76..e04b76cb5 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip 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"], -- cgit v1.2.3