From: Kevin Ball Date: Tue, 20 Jun 2017 22:43:09 +0000 (-0700) Subject: Add comment about the hackery and backstory X-Git-Tag: v6.4.0-rc5~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10222%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add comment about the hackery and backstory --- 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; }