1
0
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:
James Holland 2013-07-26 09:04:39 -04:00
parent 6115f01adb
commit 2e7593a40d

View File

@ -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) {