]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fix: remove $-zf-size from non-responsive XY Grid classes generation 11361/head
authorNicolas Coden <nicolas@ncoden.fr>
Thu, 28 Jun 2018 17:32:12 +0000 (19:32 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Thu, 28 Jun 2018 17:37:40 +0000 (19:37 +0200)
`$-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]

scss/xy-grid/_classes.scss

index c967c70bb0fa7ae9435d07fd0aa1021d40dacb48..657c0dffe40492ec31d745664d451c448c51825c 100644 (file)
     }
 
     > .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);
     }