2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Merge pull request #17259 from twbs/v4gc

v4: Conditional predefined grid classes
This commit is contained in:
Mark Otto
2015-09-01 20:16:22 -07:00
2 changed files with 9 additions and 4 deletions
+8 -4
View File
@@ -23,8 +23,10 @@
//
// Rows contain and clear the floats of your columns.
.row {
@include make-row();
@if $enable-grid-classes {
.row {
@include make-row();
}
}
@@ -32,14 +34,16 @@
//
// Common styles for small and large grid columns
@include make-grid-columns();
@if $enable-grid-classes {
@include make-grid-columns();
}
// Flex variation
//
// Custom styles for additional flex alignment options.
@if $enable-flex {
@if $enable-flex and $enable-grid-classes {
// Flex column reordering