]> 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)
committerGitHub <noreply@github.com>
Wed, 25 Dec 2019 11:28:02 +0000 (12:28 +0100)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
site/content/docs/4.3/layout/grid.md

index 22ba961192c4fa21b256eade6d55e5e71218a27d..82b6b1aa175677b516d46b7d5a2e56b58aa9690b 100644 (file)
@@ -747,8 +747,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 {