From: Mark Otto Date: Sun, 15 Apr 2012 06:19:42 +0000 (-0700) Subject: fix #2989: clear .checkbox/.radio floats X-Git-Tag: v2.0.3~5^2~24^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e9be2dc0db5148e14a9fe2164dafd79c7dd71cd;p=thirdparty%2Fbootstrap.git fix #2989: clear .checkbox/.radio floats --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 4e3217a764..e04b76cb5b 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 dc14159fbc..0218e595b3 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 1367b1fd9d..dd18b91f54 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"],