From 3f9b1cd51f8322cea06314169c6e11b4b2e160ca Mon Sep 17 00:00:00 2001 From: Kevin Ball Date: Tue, 20 Jun 2017 15:43:09 -0700 Subject: [PATCH] Add comment about the hackery and backstory --- scss/xy-grid/_classes.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scss/xy-grid/_classes.scss b/scss/xy-grid/_classes.scss index 03e7b7d16..4054007ee 100644 --- a/scss/xy-grid/_classes.scss +++ b/scss/xy-grid/_classes.scss @@ -44,6 +44,9 @@ // Auto width @include -zf-each-breakpoint() { + // This is a bit of a hack/workaround, see these PRs for the backstory: + // https://github.com/zurb/foundation-sites/pull/10222 and + // https://github.com/zurb/foundation-sites/pull/10164 .grid-x > [class*="#{$-zf-size}-"]:not([class*="#{$-zf-size}-order"]):not([class*="#{$-zf-size}-offset"]) { flex-basis: auto; } @@ -254,6 +257,9 @@ @include -zf-each-breakpoint() { + // This is a bit of a hack/workaround, see these PRs for the backstory: + // https://github.com/zurb/foundation-sites/pull/10222 and + // https://github.com/zurb/foundation-sites/pull/10164 > [class*="#{$-zf-size}-"]:not([class*="#{$-zf-size}-order"]):not([class*="#{$-zf-size}-offset"]) { flex-basis: auto; } -- 2.47.2