aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-04-24 01:33:00 -0700
committerMark Otto <[email protected]>2012-04-24 01:33:00 -0700
commit805ca03457661d6e354c308bb98e7e985f8ca79f (patch)
treed0cbc9391bca6c87bdf8c12e4e8c64d40d335d3e
parent7f6f3ff4622a9bd8394e8f418db7f9af3257ae47 (diff)
downloadbootstrap-805ca03457661d6e354c308bb98e7e985f8ca79f.tar.xz
bootstrap-805ca03457661d6e354c308bb98e7e985f8ca79f.zip
fix #3179: cut off radios and checkboxes
-rw-r--r--docs/assets/css/bootstrap.css2
-rw-r--r--less/forms.less2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index a3c7df8ab..ee5b63fd0 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 da94fa1fa..7d967c6b3 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"] {