-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Slim template regression with v3.4.5 #14005
Comments
A class name starting with number like `2xl:bg-red-500` must not be removed. Resolves tailwindlabs#14005
This reverts commit ccbc855. Belongs to tailwindlabs/tailwindcss#14005
A class name starting with number like `2xl:bg-red-500` must not be removed. Resolves #14005
fix released in v3.4.6 -- thanks! |
I have a similar problem (in haml) with the class |
@Skulli I just tried your example in the test suite of tailwindcss |
What version of Tailwind CSS are you using?
v3.4.5
What build tool (or framework if it abstracts the build tool) are you using?
postcss-cli 8.4.39 (but IMHO not relevant here)
What version of Node.js are you using?
v20.9.0
What browser are you using?
Not relevant
What operating system are you using?
macOS (but not relevant)
Reproduction URL
Because the bug belongs to Pug or slim,
play.tailwindcss.com
cannot be used to build an example. I will send a PR to fix, please don't close this issue.Describe your issue
After upgrading my Rails application (using Slim templates) to Tailwind CSS v3.4.5, I found a regression that some classes are not generated anymore. Example:
The class
2xl:bg-red-300
is missing. It seems this happens because #13959 uses an invalid number check.Stay tuned, I'm working on a PR to fix this.
The text was updated successfully, but these errors were encountered: