Skip to content

makeStyles: media queries should be sorted #129

Description

@layershifter

Problem

The problem itself is similar to microsoft/fluentui#17607, behavior of @media queries is not deterministic: it depends on order of insertion.

The closest competitor is Fela, there is mediaQueryOrder in a config for render to solve such cases.

Environment Information

  • Package version(s): @fluentui/react-make-styles@9

Please provide a reproduction of the bug in a codepen:

https://codesandbox.io/s/media-order-c89ov?file=/src/App.js

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions