]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix #3179: cut off radios and checkboxes
authorMark Otto <markotto@twitter.com>
Tue, 24 Apr 2012 08:33:00 +0000 (01:33 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 24 Apr 2012 08:33:00 +0000 (01:33 -0700)
docs/assets/css/bootstrap.css
less/forms.less

index a3c7df8ab3b4749822b879ae3f26ddf4175437fc..ee5b63fd0d0d53b7da96cf5d9f4b4e07049fb7e7 100644 (file)
@@ -873,8 +873,8 @@ input[type="hidden"] {
 
 .radio,
 .checkbox {
+  min-height: 18px;
   padding-left: 18px;
-  overflow: auto;
 }
 
 .radio input[type="radio"],
index da94fa1fa671d834ad2aea2d0e7d1b129ff9b4d1..7d967c6b3dbbb84ef5005b459fb77edd15bfd7c4 100644 (file)
@@ -173,8 +173,8 @@ input[type="hidden"] {
 // Indent the labels to position radios/checkboxes as hanging
 .radio,
 .checkbox {
+  min-height: 18px; // clear the floating input if there is no label text
   padding-left: 18px;
-  overflow: auto; // clear the floating input if there is no label text
 }
 .radio input[type="radio"],
 .checkbox input[type="checkbox"] {