mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
scope top padding of .form-control-static to be within horizontal forms only; fixes #10927
This commit is contained in:
parent
44b32a3036
commit
be4e951b7d
5
dist/css/bootstrap.css
vendored
5
dist/css/bootstrap.css
vendored
@ -2104,7 +2104,6 @@ textarea.input-lg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.form-control-static {
|
.form-control-static {
|
||||||
padding-top: 7px;
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2173,6 +2172,10 @@ textarea.input-lg {
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-horizontal .form-control-static {
|
||||||
|
padding-top: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.form-horizontal .control-label {
|
.form-horizontal .control-label {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -267,7 +267,6 @@ input[type="checkbox"],
|
|||||||
|
|
||||||
.form-control-static {
|
.form-control-static {
|
||||||
margin-bottom: 0; // Remove default margin from `p`
|
margin-bottom: 0; // Remove default margin from `p`
|
||||||
padding-top: (@padding-base-vertical + 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -354,6 +353,10 @@ input[type="checkbox"],
|
|||||||
.make-row();
|
.make-row();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-control-static {
|
||||||
|
padding-top: (@padding-base-vertical + 1);
|
||||||
|
}
|
||||||
|
|
||||||
// Only right align form labels here when the columns stop stacking
|
// Only right align form labels here when the columns stop stacking
|
||||||
@media (min-width: @screen-sm-min) {
|
@media (min-width: @screen-sm-min) {
|
||||||
.control-label {
|
.control-label {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user