Line-height for Text element #5920
Replies: 1 comment 9 replies
-
Thanks for bringing this up here as discussion. I'm hesitant about introducing So, if we were to introduce line-height, then it would have to come Text {
line-height: 24px;
half-leading: true;
font-size: 18px;
} But that feels like a step backward and perhaps there's a better way to I can see two different directions:
(1) is relatively easy to implement, I think, while (2) requires a much Would you be able to share a few of the concrete text alignment issues you've |
Beta Was this translation helpful? Give feedback.
-
As far as I can see, there is no way to define line-height for a Text-element?
This would be very useful and help achieve better looking text display.
I'd expect more or less the same implementation as for the
line-height
CSS element.See also: https://en.wikipedia.org/wiki/Leading
Bonus feature: allow vertical placement of a text element based on its baseline. The goal would be to align text elements in a more visually pleasing way.
Beta Was this translation helpful? Give feedback.
All reactions