mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-23 20:40:36 +03: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:
+1
-6
@@ -422,14 +422,9 @@ select {
|
||||
// --------------------------------------------------
|
||||
// Horizontal forms are built on grid classes.
|
||||
|
||||
.form-horizontal {
|
||||
.row + .row {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.control-label {
|
||||
.form-horizontal .control-label {
|
||||
padding-top: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
// Only right align form labels here when the columns stop stacking
|
||||
@media (min-width: @screen-tablet) {
|
||||
|
||||
Reference in New Issue
Block a user