aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Zalog <[email protected]>2017-04-03 18:16:54 +0300
committerMark Otto <[email protected]>2017-04-03 08:59:33 -0700
commit094b3a129349a41b1319b0870fb3daa9459b7284 (patch)
treee132e2fa2a1dbaac049ba35f2d2d1c3955efb5ed
parente6e070b02a893c1c87e088c1ca1d3a71b1f4ffdb (diff)
downloadbootstrap-094b3a129349a41b1319b0870fb3daa9459b7284.tar.xz
bootstrap-094b3a129349a41b1319b0870fb3daa9459b7284.zip
css: .container-fluid 100%
Force .container-fluid to be 100% width no matter if the parent is flex, or not. Pen: http://codepen.io/zalog/pen/yMwyGr
-rw-r--r--scss/_grid.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/scss/_grid.scss b/scss/_grid.scss
index 8c7a9ee31..9ab9ae02b 100644
--- a/scss/_grid.scss
+++ b/scss/_grid.scss
@@ -11,11 +11,12 @@
// Fluid container
//
-// Utilizes the mixin meant for fixed width containers, but without any defined
-// width for fluid, full width layouts.
+// Utilizes the mixin meant for fixed width containers, but with 100% width for
+// fluid, full width layouts.
@if $enable-grid-classes {
.container-fluid {
+ width: 100%;
@include make-container();
}
}