mirror of https://github.com/twbs/bootstrap.git
				
				
				
			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,13 +422,8 @@ 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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue