Skip to content
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

Factor media query min-width into rule-comparator #100

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jamesnvc
Copy link
Contributor

@jamesnvc jamesnvc commented May 5, 2024

In order for larger sizes to override smaller ones and thus allow examples like grid grid-cols-3 md:grid-cols-4 lg:grid-cols-6 to work, the larger minimum sizes need to come later in the output file.

In order for larger sizes to override smaller ones and thus allow
examples like `grid grid-cols-3 md:grid-cols-4 lg:grid-cols-6` to
work, the larger minimum sizes need to come later in the output file.
@green-coder
Copy link
Owner

It looks like a good suggestion 👍 . I will try to review the MR this weekend.

Active needs to come after hover to display correctly; this mechanism
is now extensible so other rule orderings can be enforced as well
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants