aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-11-30 23:17:43 -0800
committerMark Otto <[email protected]>2013-11-30 23:17:43 -0800
commit48269dcd282f05be79c9bb8cba032c745b3b337a (patch)
tree9175d653899ae0022855c5c2ac19407db26fa91c /less
parent841da88f3fc93740cca07b6e4581a333d77964f0 (diff)
downloadbootstrap-48269dcd282f05be79c9bb8cba032c745b3b337a.tar.xz
bootstrap-48269dcd282f05be79c9bb8cba032c745b3b337a.zip
Fixes #11658: Increase min-height of .radio and .checkbox for horizontal forms to ensure alignment of content below
Diffstat (limited to 'less')
-rw-r--r--less/forms.less6
1 files changed, 6 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less
index af1f5ac9e..dc425ecc1 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -350,6 +350,12 @@ input[type="checkbox"],
margin-bottom: 0;
padding-top: (@padding-base-vertical + 1); // Default padding plus a border
}
+ // Account for padding we're adding to ensure the alignment and of help text
+ // and other content below items
+ .radio,
+ .checkbox {
+ min-height: @line-height-computed + (@padding-base-vertical + 1);
+ }
// Make form groups behave like rows
.form-group {