diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index a3c7df8ab3b4749822b879ae3f26ddf4175437fc..ee5b63fd0d0d53b7da96cf5d9f4b4e07049fb7e7 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -873,8 +873,8 @@ input[type="hidden"] { .radio, .checkbox { + min-height: 18px; padding-left: 18px; - overflow: auto; } .radio input[type="radio"], diff --git a/less/forms.less b/less/forms.less index da94fa1fa671d834ad2aea2d0e7d1b129ff9b4d1..7d967c6b3dbbb84ef5005b459fb77edd15bfd7c4 100644 --- a/less/forms.less +++ b/less/forms.less @@ -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"] {