]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Set correct auto flex properties 10139/head
authorBrett Mason <brettsmason@users.noreply.github.com>
Mon, 5 Jun 2017 15:49:54 +0000 (16:49 +0100)
committerGitHub <noreply@github.com>
Mon, 5 Jun 2017 15:49:54 +0000 (16:49 +0100)
Fixes #10138
See https://github.com/philipwalton/flexbugs#4-flex-shorthand-declarations-with-unitless-flex-basis-values-are-ignored - must include `px`.

scss/xy-grid/_cell.scss

index b71be2da3c70ca4e15eeadbeb1fb19a14455224b..431aba0873b2478845193516c98e1cf010700023 100644 (file)
@@ -53,7 +53,7 @@
     min-width: 0px;
   }
   @elseif ($size == 'auto') {
-    flex: 1 1 auto;
+    flex: 1 1 0px; // sass-lint:disable-line zero-unit
   }
   @elseif ($size == 'shrink') {
     flex: 0 0 auto;