Skip to content

[v4] text-*/none not working after migrate to v4 #16008

@francoistomasi

Description

@francoistomasi

What version of Tailwind CSS are you using?

v4.0.0

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

Tailwind Play

Reproduction URL

v3 working → https://play.tailwindcss.com/5hzbthPmlp

v4 not working → https://play.tailwindcss.com/wB5Rew2R1m

Describe your issue

Setting line-height: 1 with to a font size with text-*/none not working anymore in v4 while leading-none still works.

Exemple:
In v3 text-xl/none and text-xl leading-none did the same thing but not in v4.

After a few tests, it seems that only 'none' value is concerned.

Hope it will help !

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions