peterramsing / lost

LostGrid is a powerful grid system built in PostCSS that works with any preprocessor and even vanilla CSS.

Home Page:http://lostgrid.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`lost-flex-coontainer` needs nowrap option

isGabe opened this issue · comments

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...

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

@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!