Skip to content

Commit 0ef5abe

Browse files
dsc8xthomas-mcdonald
authored andcommitted
correct nesting of .row-fluid > spanX
1 parent d04c446 commit 0ef5abe

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

vendor/assets/stylesheets/bootstrap/_mixins.scss

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -585,14 +585,10 @@
585585
[class*="span"]:first-child {
586586
margin-left: 0;
587587
}
588-
589-
// generate .spanX
590-
@include gridFluidSpanX($gridColumns, $columnWidth, $gutterWidth);
591588
}
592-
}
593-
@mixin gridFluidSpanX($cols, $columnWidth, $gutterWidth) {
594-
@for $i from 1 through $cols {
595-
.span#{$i} { @include gridFluidSpan($i, $columnWidth, $gutterWidth) };
589+
// generate .row-fluid > .spanX
590+
@for $i from 1 through $gridColumns {
591+
.row-fluid > .span#{$i} { @include gridFluidSpan($i, $columnWidth, $gutterWidth) };
596592
}
597593
}
598594
@mixin gridFluidSpan($columns, $columnWidth, $gutterWidth) {
@@ -622,4 +618,4 @@
622618
float: left;
623619
margin-left: $gutterWidth;
624620
@include gridFluidSpan($columns, $columnWidth, $gutterWidth);
625-
}
621+
}

0 commit comments

Comments
 (0)