Commit 48269dcd authored by Mark Otto's avatar Mark Otto

Fixes #11658: Increase min-height of .radio and .checkbox for horizontal forms...

Fixes #11658: Increase min-height of .radio and .checkbox for horizontal forms to ensure alignment of content below
parent 841da88f
...@@ -2209,6 +2209,11 @@ textarea.input-lg { ...@@ -2209,6 +2209,11 @@ textarea.input-lg {
margin-bottom: 0; margin-bottom: 0;
} }
.form-horizontal .radio,
.form-horizontal .checkbox {
min-height: 27px;
}
.form-horizontal .form-group { .form-horizontal .form-group {
margin-right: -15px; margin-right: -15px;
margin-left: -15px; margin-left: -15px;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -350,6 +350,12 @@ input[type="checkbox"], ...@@ -350,6 +350,12 @@ input[type="checkbox"],
margin-bottom: 0; margin-bottom: 0;
padding-top: (@padding-base-vertical + 1); // Default padding plus a border 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 // Make form groups behave like rows
.form-group { .form-group {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment