Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/stylesheets/bootstrap/_grid.scss')
-rw-r--r--assets/stylesheets/bootstrap/_grid.scss17
1 files changed, 9 insertions, 8 deletions
diff --git a/assets/stylesheets/bootstrap/_grid.scss b/assets/stylesheets/bootstrap/_grid.scss
index a71f3aa..d846f09 100644
--- a/assets/stylesheets/bootstrap/_grid.scss
+++ b/assets/stylesheets/bootstrap/_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.