0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-15 15:29:22 +01:00

feat: checks for $grid-row-columns (#30606)

This commit is contained in:
Catalin Zalog 2020-04-16 20:15:51 +03:00 committed by GitHub
parent 3ff3680d4e
commit 6b5f055a7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,11 +73,13 @@
@include make-col-auto(); @include make-col-auto();
} }
@if $grid-row-columns > 0 {
@for $i from 1 through $grid-row-columns { @for $i from 1 through $grid-row-columns {
.row-cols#{$infix}-#{$i} { .row-cols#{$infix}-#{$i} {
@include row-cols($i); @include row-cols($i);
} }
} }
}
.col#{$infix}-auto { .col#{$infix}-auto {
@include make-col-auto(); @include make-col-auto();