From 805ca03457661d6e354c308bb98e7e985f8ca79f Mon Sep 17 00:00:00 2001 From: Mark Otto <markotto@twitter.com> Date: Tue, 24 Apr 2012 01:33:00 -0700 Subject: [PATCH] fix #3179: cut off radios and checkboxes --- docs/assets/css/bootstrap.css | 2 +- less/forms.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index a3c7df8ab3..ee5b63fd0d 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 da94fa1fa6..7d967c6b3d 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"] { -- GitLab