]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Only base cell needs min width/height
authorKevin Ball <kmball11@gmail.com>
Thu, 1 Jun 2017 15:45:38 +0000 (08:45 -0700)
committerKevin Ball <kmball11@gmail.com>
Thu, 1 Jun 2017 15:45:38 +0000 (08:45 -0700)
scss/xy-grid/_cell.scss

index 389e72a3daa33ce383f6d45e2f912e736f0aad5b..a46a2cd8d7ebab06e6233353215ea7788635e3f9 100644 (file)
 ///
 /// @param {Keyword} $size [full] - The size of your cell. Accepts `full`, `auto` or `shrink`.
 @mixin xy-cell-base($size: full) {
-  min-height: 0px;
-  min-width: 0px;
   @if($size == 'full') {
     // This is the base style, all others inherit from it
     flex: 0 0 auto;
+    min-height: 0px;
+    min-width: 0px;
   }
   @elseif ($size == 'auto') {
     flex: 1 1 auto;