tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

Line-height issue for `<small>`

Open MartijnCuppens opened this issue 1 year ago • 0 comments

Issue is visible here: https://play.tailwindcss.com/BXck05lL3v

The fixed line height is inherited via text-2xl, and because <small> is aligned to the baseline, there will be more whitespace at the bottom.


Extracted from https://github.com/tailwindlabs/tailwindcss/pull/14335. Depending on whether we continue with that idea, we 'll need another implementation.

MartijnCuppens avatar Sep 20 '24 16:09 MartijnCuppens