]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix #2989: clear .checkbox/.radio floats
authorMark Otto <markotto@twitter.com>
Sun, 15 Apr 2012 06:19:42 +0000 (23:19 -0700)
committerMark Otto <markotto@twitter.com>
Sun, 15 Apr 2012 06:19:42 +0000 (23:19 -0700)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/forms.less

index 4e3217a764ffbf55cf3cead427783fa3300d6a37..e04b76cb5ba619e7cf75070bb2081b7d2081d591 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index dc14159fbc6d3f249c9d8ab8ffbae6d58ae046c2..0218e595b35efc76df5b606d00b49995c40d36dd 100644 (file)
@@ -729,6 +729,7 @@ input[type="hidden"] {
 }
 .radio,
 .checkbox {
+  overflow: auto;
   padding-left: 18px;
 }
 .radio input[type="radio"],
index 1367b1fd9d1babb14fcfd6f96bcd2e06e8fc747a..dd18b91f549f30693b6499dcc0dc6ad23259f8e0 100644 (file)
@@ -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"],