]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update forms.less to remove .form-horizontal .row + .row 8622/head
authorJames Holland <james@turnupworks.com>
Fri, 26 Jul 2013 13:04:39 +0000 (09:04 -0400)
committerJames Holland <james@turnupworks.com>
Fri, 26 Jul 2013 13:04:39 +0000 (09:04 -0400)
use .form-group to apply consistent vertical spacing on form rows

less/forms.less

index 7040b17d666ef9e0b0c3e56a313012cb25fe7427..21475a6d07b9a4d65bddd5b98cc5870a361af1bf 100644 (file)
@@ -422,13 +422,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