From: Nicolas Coden Date: Thu, 28 Jun 2018 17:32:12 +0000 (+0200) Subject: fix: remove $-zf-size from non-responsive XY Grid classes generation X-Git-Tag: v6.6.0~3^2~143^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11361%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fix: remove $-zf-size from non-responsive XY Grid classes generation `$-zf-size` is only set within breakpoints. Breakpoints are not expected to be used around the `xy-vertical-grid-classes()` mixin. Note: a more appropriate fix would be to rely on the `xy-cell()` mixin instead of `xy-cell-static()` to fully support explicit/implicit/null breakpoint option. However this may introduce breaking changes, so this will be kept for v6.6.0. [This fix is compatible with v6.5] --- diff --git a/scss/xy-grid/_classes.scss b/scss/xy-grid/_classes.scss index c967c70bb..657c0dffe 100644 --- a/scss/xy-grid/_classes.scss +++ b/scss/xy-grid/_classes.scss @@ -273,11 +273,11 @@ } > .auto { - @include xy-cell-static(auto, false, $breakpoint: $-zf-size, $vertical: true); + @include xy-cell-static(auto, false, $vertical: true); } > .shrink { - @include xy-cell-static(shrink, false, $breakpoint: $-zf-size, $vertical: true); + @include xy-cell-static(shrink, false, $vertical: true); }