Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

@media print Bug #26

Open
kerngebiet-digital opened this issue May 1, 2019 · 0 comments
Open

@media print Bug #26

kerngebiet-digital opened this issue May 1, 2019 · 0 comments

Comments

@kerngebiet-digital
Copy link

Hello there, we encountered a bug with @media print queries:
This works perfectly:
@media (max-width:360px){ .test{ top : 230px; } } @media print{ }

This breaks:
@media (max-width:360px){ } @media print{ .test{ top : 230px; } }

With this rigged output:
[ { "selector": "@media (max-width:360px)", "type": "media", "subStyles": [ { "selector": "}\n@media print", "type": "media", "subStyles": [] } ] } ]

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

No branches or pull requests

1 participant