]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
css: .container-fluid 100%
authorCatalin Zalog <c@zalog.ro>
Mon, 3 Apr 2017 15:16:54 +0000 (18:16 +0300)
committerMark Otto <markd.otto@gmail.com>
Mon, 3 Apr 2017 15:59:33 +0000 (08:59 -0700)
Force .container-fluid to be 100% width no matter if the parent is flex, or not.

Pen: http://codepen.io/zalog/pen/yMwyGr

scss/_grid.scss

index 8c7a9ee3188e183f5240c2ef6432bc4e5954ac60..9ab9ae02b6e97c33b3b89c9a7e38888461ce5a20 100644 (file)
 
 // 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();
   }
 }