1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 03:11:19 +02:00

grid: checks for $grid-columns > 0 (#30605)

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
This commit is contained in:
Catalin Zalog
2020-04-18 12:51:50 +03:00
committed by GitHub
parent b79e55fed4
commit 338ca83821

View File

@@ -85,6 +85,7 @@
@include make-col-auto(); @include make-col-auto();
} }
@if $columns > 0 {
@for $i from 1 through $columns { @for $i from 1 through $columns {
.col#{$infix}-#{$i} { .col#{$infix}-#{$i} {
@include make-col($i, $columns); @include make-col($i, $columns);
@@ -99,6 +100,7 @@
} }
} }
} }
}
// Gutters // Gutters
// //