Skip to content

Commit

Permalink
feat: checks for $grid-row-columns (#30606)
Browse files Browse the repository at this point in the history
  • Loading branch information
zalog committed Apr 16, 2020
1 parent 3ff3680 commit 6b5f055
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 6b5f055

Please sign in to comment.