mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-30 15:24:08 +03:00
scope top padding of .form-control-static to be within horizontal forms only; fixes #10927
This commit is contained in:
+4
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user