From 022aeeea19eaea78535b176338d230131ff96698 Mon Sep 17 00:00:00 2001 From: Brett Mason Date: Fri, 9 Jun 2017 20:54:15 +0100 Subject: [PATCH] Attempt at fixing the `flex-basis: auto` issue --- scss/xy-grid/_classes.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scss/xy-grid/_classes.scss b/scss/xy-grid/_classes.scss index 5b6e4ebed..032100521 100644 --- a/scss/xy-grid/_classes.scss +++ b/scss/xy-grid/_classes.scss @@ -40,6 +40,12 @@ > .shrink { @include xy-cell-static(shrink, false); } + + @include -zf-each-breakpoint() { + > [class*="#{$-zf-size}-"] { + flex-basis: auto; + } + } } // Auto width @@ -259,6 +265,12 @@ @include xy-cell-static($i, false, $vertical: true, $gutter-type: padding); } } + + @include -zf-each-breakpoint() { + > [class*="#{$-zf-size}-"] { + flex-basis: auto; + } + } } } -- 2.47.3