Skip to content

Document fontSize default lineHeight object syntax #972

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

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

olets
Copy link

@olets olets commented Oct 25, 2021

The font-size documentation says that a default line-height can be given with [<font-size>, <line-height>], and that when specifying both a default line-height and a default letter-spacing the defaults go in an object:

[<font-size>, {
  letterSpacing: <letter-spacing>,
  lineHeight: <line-height>
}]

Support for using an object when specifying a default line-height without a default letter-spacing is undocumented.

@vercel
Copy link

vercel bot commented Oct 25, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tailwindlabs/tailwindcss-com/F1yPvresfwbWiWjfUiVJQvNQwvYA
✅ Preview: https://tailwindcss-com-git-fork-olets-patch-1-tailwindlabs.vercel.app

@adamwathan
Copy link
Member

Thanks.

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.

2 participants