You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! This is unfortunately an upstream issue from lightningcss. Merging this into the existing GitHub issue but do check out the workaround here: #15897 (comment)
What version of Tailwind CSS are you using?
v4.0.17
What build tool (or framework if it abstracts the build tool) are you using?
Next.js 15.2.4
What version of Node.js are you using?
v22.12.0
What browser are you using?
Chrome
What operating system are you using?
Windows
Reproduction URL
Describe your issue
So I'm not sure if this is a tailwind or next issue.
When running next dev, this is the generated CSS:
All good.
Now when running next build & next start, we see the following:
Center gets replaced by 50% and the rem value is being ignored, which makes the CSS have an incorrect value.
The text was updated successfully, but these errors were encountered: