Commit be4e951b authored by Mark Otto's avatar Mark Otto

scope top padding of .form-control-static to be within horizontal forms only; fixes #10927

parent 44b32a30
......@@ -2104,7 +2104,6 @@ textarea.input-lg {
}
.form-control-static {
padding-top: 7px;
margin-bottom: 0;
}
......@@ -2173,6 +2172,10 @@ textarea.input-lg {
clear: both;
}
.form-horizontal .form-control-static {
padding-top: 7px;
}
@media (min-width: 768px) {
.form-horizontal .control-label {
text-align: right;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -267,7 +267,6 @@ input[type="checkbox"],
.form-control-static {
margin-bottom: 0; // Remove default margin from `p`
padding-top: (@padding-base-vertical + 1);
}
......@@ -354,6 +353,10 @@ input[type="checkbox"],
.make-row();
}
.form-control-static {
padding-top: (@padding-base-vertical + 1);
}
// Only right align form labels here when the columns stop stacking
@media (min-width: @screen-sm-min) {
.control-label {
......
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