Closed
Description
Currently with a multiplier value for line-height
:
transformCss([['line-height', '1.5']])
The result is this:
{ lineHeight: 1.5 }
React Native treats it as a pixel value instead of a multiplier. We can only calculate the multiplier if we know the font-size of the Text
element.
Maybe we should only allow pixels (or other units) to be used with line-height
and throw an error for a multiplier?
ping @jacobp100
Metadata
Metadata
Assignees
Labels
No labels