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-flex-coontainer` needs nowrap option #390

Open isGabe opened 7 years ago

isGabe commented 7 years ago

Is this a feature request or a bug report? Feature request

What is the current behavior? lost-flex-container: row outputs:

display: flex;
flex-flow: row wrap;

What is the desired behavior? It would be nice to be able to pass a nowrap parameter in, like: lost-flex-container: row nowrap;, instead of having to manually override it.

What's the motivation or use-case behind changing the behavior? In order to get nowrap you have to override with flex-wrap: nowrap, which is easy enough. But if you have stylelint set up to order selectors alphabetically (team decision, not mine), it will bark at you, wanting the flex-wrap: nowrap declaration to come first, which will then be overridden by the lost-flex-column declaration.

What version of LostGrid, browser and browser version are affected by this issue? Did this happen in previous versions? Lost: 7.1.1 browser is not relevant in this case...

isGabe commented 7 years ago

This may have been a mistake on my part, feel free to close if it doesn't make sense.

peterramsing commented 6 years ago

@FStop, is this still an issue. Adding more params is something that I'd like to avoid but I see the potential need here. Let me know. Thank!