diff --git a/css.html b/css.html index f49e8bb918..0401d78d02 100644 --- a/css.html +++ b/css.html @@ -1254,13 +1254,13 @@ For example, <section> should be wrapped as inline.

Horizontal form

Use Bootstrap's predefined grid classes to align labels and groups of form controls in a horizontal layout.

-
+
-
+
@@ -1283,7 +1283,7 @@ For example, <section> should be wrapped as inline.
-
+
diff --git a/less/forms.less b/less/forms.less index 390d5427a9..4f04c454cb 100644 --- a/less/forms.less +++ b/less/forms.less @@ -421,13 +421,8 @@ 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