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

Media queries not output in the right order #195

Closed
georgeevans1995 opened this issue Feb 13, 2019 · 3 comments
Closed

Media queries not output in the right order #195

georgeevans1995 opened this issue Feb 13, 2019 · 3 comments

Comments

@georgeevans1995
Copy link

The new Grid Breakpoints don't always render in the correct order. For example this is the output I get for breakpoints:
{
xs: "+10",
lg: "+1000",
xl: "+1301"
};

@media (min-width:1000px){STYLES}} 
@media (min-width:10px){STYLES} 
@media (min-width:1301px){STYLES}

Because they are not output in the right order it means that the styles for breakpoint 1000px are never able to be used/applied due to css always using the last values in the css.

@jim-at-jibba
Copy link
Contributor

@georgeevans1995 I cant consistently recreate this. Let's chat about it tomorrow.

@AriTheElk
Copy link
Owner

@georgeevans1995 if possible, can you create a codesandbox demo of the problem? I haven't personally run into that issue

@AriTheElk
Copy link
Owner

closing inactive issue, reopen if you want to continue the discussion

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

No branches or pull requests

3 participants