From: Harwin Date: Mon, 17 Dec 2018 10:41:57 +0000 (+0100) Subject: Fix wrong implementation of centering the grid-container X-Git-Tag: v6.6.0~3^2~48^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11634%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git 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. --- 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.