Truncated decimal values on size units

I was attempting to recreate an existing design in Elements and I ran into an issue with the rem units sizing. For instance, the ‘lg’ font size in Elements is set to 1.12 rem (17.92px) whereas Tailwind specifies ‘lg’ as 1.125 rem (18px) - and is the font size I actually want.

I tried to create a custom text style to override the existing ‘lg’ definition, but it would also truncate at two decimal places; ie 1.12 rem. There are a number of Tailwind sizes that use three decimal places, so it would be ideal to fully support Tailwind values.

1 Like

Ah yes, you’re absolutely right :man_facepalming: I have added this to the bug list to get fixed — Thanks for highlighting!

1 Like