-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
component: BoxThe React component.The React component.scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUIThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUItype: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
- This is not a v0.x issue.
- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior 🤔
When using Box the generated media queries should be in correct order
Current Behavior 😯
When property display is added only for higher media query and not for lower, the order of media queries is wrong
Steps to Reproduce 🕹
Link: https://codesandbox.io/s/green-brook-6itw1
- In the demo change window size to see the described bug
- Check the inspector that media queries are in fact in wrong order
Context 🔦
Your Environment 🌎
| Tech | Version |
|---|---|
| Material-UI | v4.2.0 |
| React | v.16.8.0 |
| Browser | Chrome 75 |
oliviertassinari
Metadata
Metadata
Assignees
Labels
component: BoxThe React component.The React component.scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUIThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUItype: bugIt doesn't behave as expected.It doesn't behave as expected.