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

Incorrect Use of xs Breakpoint in Tailwind Variants Documentation #236

Open
negprof opened this issue Jan 17, 2025 · 0 comments
Open

Incorrect Use of xs Breakpoint in Tailwind Variants Documentation #236

negprof opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@negprof
Copy link

negprof commented Jan 17, 2025

In the Tailwind Variants documentation, the example for responsive variants includes the xs breakpoint. However, xs is not a standard breakpoint in Tailwind CSS, as per the official Tailwind CSS documentation.

Observed Behavior
1. The Tailwind CSS transformer crashes when it encounters xs, as it is not a recognized breakpoint.
2. Classes corresponding to breakpoints other than initial (e.g., sm, md) are not included in the generated global.css.

@negprof negprof added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant