2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

fixes #5039: properly set .row-fluid margins for .controls-row

This commit is contained in:
Mark Otto
2012-09-17 16:09:36 -07:00
parent 03a406d920
commit 6881c193ca
4 changed files with 23 additions and 3 deletions
+6 -2
View File
@@ -304,8 +304,12 @@ textarea[class*="span"],
.controls-row {
.clearfix(); // Clear the float from controls
}
.controls-row [class*="span"] {
float: left; // Float to collapse white-space for proper grid alignment
// Float to collapse white-space for proper grid alignment
.controls-row [class*="span"],
// Redeclare the fluid grid collapse since we undo the float for inputs
.row-fluid .controls-row [class*="span"] {
float: left;
}