diff options
author | Catalin Zalog <c@zalog.ro> | 2020-04-16 20:15:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 20:15:51 +0300 |
commit | 6b5f055a7deba265390d05c8f949c4f870dde3ec (patch) | |
tree | f0fa3458ed3cf1adad50a153b50961fb6c46fca6 /scss | |
parent | 3ff3680d4e9243e5e8e0715c7b7cffb43abd8de6 (diff) |
feat: checks for `$grid-row-columns` (#30606)
Diffstat (limited to 'scss')
-rw-r--r-- | scss/mixins/_grid.scss | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scss/mixins/_grid.scss b/scss/mixins/_grid.scss index bfc60d88ab..94bf98a022 100644 --- a/scss/mixins/_grid.scss +++ b/scss/mixins/_grid.scss @@ -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); + } } } |