1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +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();
}
@if $columns > 0 {
@for $i from 1 through $columns {
.col#{$infix}-#{$i} {
@include make-col($i, $columns);
@@ -99,6 +100,7 @@
}
}
}
}
// Gutters
//