]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Documentation fix: move width after `make-container()` mixin (#29820)
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Wed, 25 Dec 2019 11:28:02 +0000 (12:28 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 2 Jan 2020 10:11:56 +0000 (12:11 +0200)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
site/docs/4.4/layout/grid.md

index 5258cd505ca5805d418ceeb331e18447d24927fa..d6c4679fe58015ac2cf2b80ea9d72696c0a4be59 100644 (file)
@@ -826,8 +826,10 @@ You can modify the variables to your own custom values, or just use the mixins w
 
 {% highlight scss %}
 .example-container {
-  width: 800px;
   @include make-container();
+  // Make sure to define this width after the mixin to override
+  // `width: 100%` generated by `make-container()`
+  width: 800px;
 }
 
 .example-row {