.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.
.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.