Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Tailwind generates empty classes for certain classnames #17922

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

Closed
eloraa opened this issue May 8, 2025 · 0 comments
Closed

Tailwind generates empty classes for certain classnames #17922

eloraa opened this issue May 8, 2025 · 0 comments

Comments

@eloraa
Copy link

eloraa commented May 8, 2025

What version of Tailwind CSS are you using?

V^4.1.5

What build tool (or framework if it abstracts the build tool) are you using?

Next.js 15.3.1, React ^19.1.0, @tailwindcss/postcss ^4.1.5

What version of Node.js are you using?

v20.11.1

What browser are you using?

Chrome, Firefox

What operating system are you using?

Windows, Linux

Reproduction URL
https://dmwlz8-3000.csb.app/shop
https://codesandbox.io/p/devbox/dmwlz8 (Minimal reproduction of my issue)

Describe your issue

Image

For certain className, Tailwind is appending empty classes (you can see in the image, also from the reproduction link), especially those with breakpoints. I tried switching devices and reinstalling everything, but I still get the same output.

@wongjn wongjn converted this issue into discussion #17923 May 8, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant