Skip to content

Commit

Permalink
feat: checks for $grid-row-columns (twbs#30606)
Browse files Browse the repository at this point in the history
  • Loading branch information
zalog authored and olsza committed Oct 3, 2020
1 parent 00332b9 commit 2f0283b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scss/mixins/_grid.scss
Expand Up @@ -73,9 +73,11 @@
@include make-col-auto();
}

@for $i from 1 through $grid-row-columns {
.row-cols#{$infix}-#{$i} {
@include row-cols($i);
@if $grid-row-columns > 0 {
@for $i from 1 through $grid-row-columns {
.row-cols#{$infix}-#{$i} {
@include row-cols($i);
}
}
}

Expand Down

0 comments on commit 2f0283b

Please sign in to comment.