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
What version of Tailwind CSS are you using? v3.4.13
What build tool (or framework if it abstracts the build tool) are you using? Next.js v14.2.11, postcss v8.4.47
What version of Node.js are you using? v20.17
What browser are you using? Chrome
What operating system are you using? MacOS
Describe your issue When I add extended screens inside the Tailwind config, it disables the min-[*px] class in the HTML.
The text was updated successfully, but these errors were encountered:
This is a known limitation, see #9558 (comment) for details.
Sorry, something went wrong.
Yep! Consider migrating the screens config to use a min-based config like this:
module.exports = { theme: { screens: { sm: "640px", md: "768px", lg: "1024px", xl: "1280px", "2xl": "1536px", }, }, };
That should generate the min-* and max-* utilities (and it will continue to do so with Tailwind CSS v4 🙂)
min-*
max-*
No branches or pull requests
What version of Tailwind CSS are you using?
v3.4.13
What build tool (or framework if it abstracts the build tool) are you using?
Next.js v14.2.11, postcss v8.4.47
What version of Node.js are you using?
v20.17
What browser are you using?
Chrome
What operating system are you using?
MacOS
Describe your issue
When I add extended screens inside the Tailwind config, it disables the min-[*px] class in the HTML.
The text was updated successfully, but these errors were encountered: