From ccbdd31298ceca0beaf1b516ad7e8fa8b8cc93c4 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Sun, 8 Dec 2019 15:02:42 +0100 Subject: [PATCH 1/2] Move width after mixin --- site/content/docs/4.3/layout/grid.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/4.3/layout/grid.md b/site/content/docs/4.3/layout/grid.md index 22ba961192c4..b14db85bcc36 100644 --- a/site/content/docs/4.3/layout/grid.md +++ b/site/content/docs/4.3/layout/grid.md @@ -747,8 +747,8 @@ 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(); + width: 800px; // Make sure to define this width after the mixin to override `width: 100%`, generated by `make-container()` } .example-row { From 4d565a0304b0e2c56aabedf8deb6a9a1b94db37f Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 9 Dec 2019 12:18:53 +0200 Subject: [PATCH 2/2] Update grid.md --- site/content/docs/4.3/layout/grid.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/content/docs/4.3/layout/grid.md b/site/content/docs/4.3/layout/grid.md index b14db85bcc36..82b6b1aa1756 100644 --- a/site/content/docs/4.3/layout/grid.md +++ b/site/content/docs/4.3/layout/grid.md @@ -748,7 +748,9 @@ You can modify the variables to your own custom values, or just use the mixins w {{< highlight scss >}} .example-container { @include make-container(); - width: 800px; // Make sure to define this width after the mixin to override `width: 100%`, generated by `make-container()` + // Make sure to define this width after the mixin to override + // `width: 100%` generated by `make-container()` + width: 800px; } .example-row {