Skip to content

Commit

Permalink
Backport #30606 (#30612)
Browse files Browse the repository at this point in the history
checks for `$grid-row-columns`
  • Loading branch information
zalog authored and XhmikosR committed Apr 21, 2020
1 parent d1828bb commit 6fd3895
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scss/mixins/_grid-framework.scss
Expand Up @@ -35,9 +35,11 @@
max-width: 100%;
}

@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 6fd3895

Please sign in to comment.