From 2b715131ac72ae7a8d747097ed16aeca79f467e9 Mon Sep 17 00:00:00 2001 From: Harwin Date: Mon, 17 Dec 2018 11:41:57 +0100 Subject: [PATCH] Fix wrong implementation of centering the grid-container The margin on top and bottom of the container should not be set to ZERO. And vertical margin on the grid-container makes it impossible to add a new margin top or bottom. Should not be set by default. --- scss/xy-grid/_grid.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scss/xy-grid/_grid.scss b/scss/xy-grid/_grid.scss index 9a91bc6f5..722d0b24e 100644 --- a/scss/xy-grid/_grid.scss +++ b/scss/xy-grid/_grid.scss @@ -17,7 +17,8 @@ @include xy-gutters($gutters: $padding, $gutter-type: padding); max-width: $width; - margin: 0 auto; + margin-left: auto; + margin-right: auto; } /// Creates a container for your flex cells. -- 2.47.2