Commit 7633d4c6 authored by Mark Otto's avatar Mark Otto
Browse files

Make predefined grid classes conditional

- Add explicit -grid-classes variable and set to true by default
- Wrap .row and .col generation in the boolean var
parent 4b63173a
Showing with 9 additions and 4 deletions
+9 -4
......@@ -28,8 +28,10 @@
//
// Rows contain and clear the floats of your columns.
.row {
@include make-row();
@if $enable-grid-classes {
.row {
@include make-row();
}
}
......@@ -37,14 +39,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
......
......@@ -49,6 +49,7 @@ $enable-shadows: false !default;
$enable-gradients: false !default;
$enable-transitions: false !default;
$enable-hover-media-query: false !default;
$enable-grid-classes: true !default;
// Spacing
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment