]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add comment about the hackery and backstory 10222/head
authorKevin Ball <kmball11@gmail.com>
Tue, 20 Jun 2017 22:43:09 +0000 (15:43 -0700)
committerKevin Ball <kmball11@gmail.com>
Tue, 20 Jun 2017 22:43:09 +0000 (15:43 -0700)
scss/xy-grid/_classes.scss

index 03e7b7d16078a1fb575e928c7a0bd74f114e8a53..4054007eea8fc466ed9cc7782e320332877b12fe 100644 (file)
@@ -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;
     }
 
 
     @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;
       }