peterramsing / lost

LostGrid is a powerful grid system built in PostCSS that works with any preprocessor and even vanilla CSS.
http://lostgrid.org
MIT License
4.5k stars 161 forks source link

lost-masonry-column does not support no unit on a "0 gutter" #383

Closed peterramsing closed 7 years ago

peterramsing commented 7 years ago

Is this a feature request or a bug report? Bug Report

What is the current behavior? lost-masonry-column does not support a unitless zero gutter

If it's a bug please provide the steps to reproduce it and maybe some code samples.

.div {
  lost-masonry-column: 60px; 
  lost-masonry-column-gutter: 0;
}

Error: TypeError: Cannot read property 'join' of null

What is the desired behavior? Supporting unitless zero gutters.

What version of LostGrid, browser and browser version are affected by this issue? Did this happen in previous versions? 8.0.0

Anything else? Failing tests: https://travis-ci.org/peterramsing/lost/jobs/249156939