diff options
| author | Bass Jobsen <[email protected]> | 2015-12-27 00:14:01 +0100 |
|---|---|---|
| committer | Bass Jobsen <[email protected]> | 2015-12-27 00:14:01 +0100 |
| commit | ddb652b8d54ea5c66682e8ce48909109e1b71198 (patch) | |
| tree | 585dcd356092a379de2c618a781866f47b7bf237 | |
| parent | 699c6bb383d0c0179ff0b895ce0520b005db28b1 (diff) | |
| download | bootstrap-ddb652b8d54ea5c66682e8ce48909109e1b71198.tar.xz bootstrap-ddb652b8d54ea5c66682e8ce48909109e1b71198.zip | |
.container, .container-fluid should be conditional upon $enable-grid-classes
see: https://github.com/twbs/bootstrap/issues/17586
| -rw-r--r-- | scss/_grid.scss | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/scss/_grid.scss b/scss/_grid.scss index a71f3aaf2..d846f098c 100644 --- a/scss/_grid.scss +++ b/scss/_grid.scss @@ -2,23 +2,24 @@ // // Set the container width, and override it for fixed navbars in media queries. -.container { - @include make-container(); - @include make-container-max-widths(); - +@if $enable-grid-classes { + .container { + @include make-container(); + @include make-container-max-widths(); + } } - // Fluid container // // Utilizes the mixin meant for fixed width containers, but without any defined // width for fluid, full width layouts. -.container-fluid { - @include make-container(); +@if $enable-grid-classes { + .container-fluid { + @include make-container(); + } } - // Row // // Rows contain and clear the floats of your columns. |
