.container, .container-fluid should be conditional upon $enable-grid-classes

see: https://github.com/twbs/bootstrap/issues/17586
This commit is contained in:
Bass Jobsen 2015-12-27 00:14:01 +01:00
parent 699c6bb383
commit ddb652b8d5
1 changed files with 9 additions and 8 deletions

View File

@ -2,23 +2,24 @@
// //
// Set the container width, and override it for fixed navbars in media queries. // Set the container width, and override it for fixed navbars in media queries.
.container { @if $enable-grid-classes {
@include make-container(); .container {
@include make-container-max-widths(); @include make-container();
@include make-container-max-widths();
}
} }
// Fluid container // Fluid container
// //
// Utilizes the mixin meant for fixed width containers, but without any defined // Utilizes the mixin meant for fixed width containers, but without any defined
// width for fluid, full width layouts. // width for fluid, full width layouts.
.container-fluid { @if $enable-grid-classes {
@include make-container(); .container-fluid {
@include make-container();
}
} }
// Row // Row
// //
// Rows contain and clear the floats of your columns. // Rows contain and clear the floats of your columns.