0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-21 18:54:30 +01:00
checks for `$grid-row-columns`
This commit is contained in:
Catalin Zalog 2020-04-17 21:37:09 +03:00 committed by XhmikosR
parent 4853c5b527
commit 9d0097013a

View File

@ -35,11 +35,13 @@
max-width: 100%; max-width: 100%;
} }
@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();