Skip to content

correctly sort media queries before joining them - #513

Merged
RyanZim merged 3 commits into
postcss:masterfrom
romainmenke:fix-512--sympathetic-yak-db1bc2ba9e
Dec 1, 2022
Merged

correctly sort media queries before joining them#513
RyanZim merged 3 commits into
postcss:masterfrom
romainmenke:fix-512--sympathetic-yak-db1bc2ba9e

Conversation

@romainmenke

@romainmenke romainmenke commented Dec 1, 2022

Copy link
Copy Markdown
Collaborator

fix : #512

This will not help with :

print and (min-width: 300px) + screen and (min-width: 300px)

@RyanZim RyanZim left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a perfect fix, but it solves the 90% use case with minimal complexity.

@RyanZim
RyanZim merged commit 2db3239 into postcss:master Dec 1, 2022
@RyanZim RyanZim added the bug label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect media query concats

2 participants