-
Notifications
You must be signed in to change notification settings - Fork 196
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
Multiple media queries do not cascade #497
Comments
It's been awhile since I spent time in the media queries portion of this code base, but as I recall, there are some unfortunate design constraints elsewhere which make it impossible for this to work as expected. I believe the solution is to change the top one from |
👍 Thanks for getting back to us and bummer about the design constraints. The suggestion does seem to work, so thanks you! |
Having the same issues. For instance, if I define mediaQueryA and mediaQueryB in that order in elm-css, the This may be arbitrary, but at least it works in my case here. Just a tad annoying having to do it the opposite way of what I do when writing css. Not sure if we can depend on that order, though? |
We have the following two media queries and expect them to apply in a cascading way.
Instead, once the smaller size is hit, the 800 styles override the 376 styles.
The text was updated successfully, but these errors were encountered: