Skip to content
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

Change line height of the lg font size to 1.625rem #14223

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

MartijnCuppens
Copy link
Contributor

The default line height of the lg font size looks a bit large compared to the rest of the line heights. You can see this in these demo's (third paragraph):

https://play.tailwindcss.com/0B3D7HVsj0 https://play.tailwindcss.com/rZkSJPczKR
PixelSnap 2024-08-20 at 11 06 02 AM@2x PixelSnap 2024-08-20 at 11 05 24 AM@2x

Also, if you plot the values of the relative line heights, you see the gap between lg and xl (blue dots 4&5):

Relative line-height

This is a breaking change, so I changed this in v4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant