Media query is not contained in the Parallel layer when Parallel is imported as its own layer #1
Answered
by
Th3S4mur41
nathania-haryanto
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
Th3S4mur41
Aug 26, 2022
Replies: 0 comments 1 reply
-
There seems to be a bug in postcss that results in 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 |
Beta Was this translation helpful? Give feedback.
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
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