mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 03:40:10 +00:00
Update forms.less to remove .form-horizontal .row + .row
use .form-group to apply consistent vertical spacing on form rows
This commit is contained in:
parent
6115f01adb
commit
2e7593a40d
@ -422,14 +422,9 @@ select {
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// Horizontal forms are built on grid classes.
|
// Horizontal forms are built on grid classes.
|
||||||
|
|
||||||
.form-horizontal {
|
.form-horizontal .control-label {
|
||||||
.row + .row {
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
||||||
.control-label {
|
|
||||||
padding-top: 6px;
|
padding-top: 6px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// 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-tablet) {
|
@media (min-width: @screen-tablet) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user