We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I have the following tailwind config that extends the screens size to add an "xs" screen size :
tailwind.config.js
/** @type {import('tailwindcss').Config} */ module.exports = { ..., theme: { extend: { screens: { xs: '480px', }, }, }, };
This new screen size gets sorted last, eg:
sm:text-3xl md:text-4xl xs:text-2xl
This cause specificity issues and results in the wrong styles being applied in large screens.
To Reproduce Steps to reproduce the behavior:
xs:text-2xl sm:text-3xl md:text-4xl
Expected behavior The screen-size modifiers should be sorted by size (small -> large) OR the order should be configurable
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I have the following tailwind config that extends the screens size to add an "xs" screen size :
tailwind.config.js
This new screen size gets sorted last, eg:
This cause specificity issues and results in the wrong styles being applied in large screens.
To Reproduce
Steps to reproduce the behavior:
xs:text-2xl sm:text-3xl md:text-4xl
somewhere in the projectExpected behavior
The screen-size modifiers should be sorted by size (small -> large) OR the order should be configurable
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: