Skip to content

Media query is not contained in the Parallel layer when Parallel is imported as its own layer #1

Discussion options

You must be logged in to vote

There seems to be a bug in postcss that results in @media queries not being enclosed in the @layer block.

As a workaround for now, you could leave parallel on the default layer and only put 3rd party libraries in their own layer. Since Parallel is mostly using :where to work without specificity, that shouldn't have impact on your own styles.
This will fix the specificity issue within parallel and still be good enough to make parallel take precedence over 3rd party libraries

Replies: 0 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by nathania-haryanto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants