Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stylelint message contains a mistake #203

Open
JoostKiens opened this issue Sep 29, 2020 · 1 comment
Open

Stylelint message contains a mistake #203

JoostKiens opened this issue Sep 29, 2020 · 1 comment
Labels

Comments

@JoostKiens
Copy link
Contributor

I have the following warning from stylelint plugin: kaliber/parent-child-policy.

missing `display: flex;`
`order` can only be used when the containing root rule has `display: flex;` - add `display: flex;` to the containing root rule or, if this is caused by a media query that overrides `display: flex;`, use `flex: unset`

I believe flex: unset unsets the flex property, not the order property. We'll want to change this to:

order can only be used when the containing root rule has display: flex; - add display: flex; to the containing root rule or, if this is caused by a media query that overrides display: flex;, use order: unset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants