Compatibility issue with hardcoded styles. #17143
Unanswered
Henrique0305
asked this question in
Help
Replies: 1 comment
-
Hey! So the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There's a breaking change related to the new Tailwind V4 and custom font sizes. The issue is: adding a custom font size for example:
text-[12px]
, is converted tofont-size: 12px !important
, but when we add thelg:
prefix, it does not add the!important
to it's CSS compilation, it causes thelg:
modificator to not work.What version of Tailwind CSS are you using?
For example: v4.0.12
What build tool (or framework if it abstracts the build tool) are you using?
postcss-cli 11.0.0, Next.js 15.1.7
What version of Node.js are you using?
Node: 20.18.3
Beta Was this translation helpful? Give feedback.
All reactions