Skip to content

lost-flex-coontainer needs nowrap option #390

Description

@isGabe

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions