# Truncated decimal values on size units

**URL:** <https://forums.realmacsoftware.com/t/truncated-decimal-values-on-size-units/46117>\
**Category:** Elements\
**Created:** [January 29, 2025, 6:59pm UTC](https://forums.realmacsoftware.com/t/truncated-decimal-values-on-size-units/46117 "2025-01-29T18:59:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon68150607](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anon68150607](https://forums.realmacsoftware.com/u/anon68150607)\
**Post date:** [January 29, 2025, 6:59pm UTC](https://forums.realmacsoftware.com/t/truncated-decimal-values-on-size-units/46117/1 "2025-01-29T18:59:11Z")

</div>

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)](https://tailwindcss.com/docs/font-size) - 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.

 ![CleanShot 2025-01-29 at 13.48.32@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/8/7/87fbd4c8207c5870442569f5fca01495ca6ae594.jpeg)

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [January 29, 2025, 8:40pm UTC](https://forums.realmacsoftware.com/t/truncated-decimal-values-on-size-units/46117/2 "2025-01-29T20:40:51Z")

</div>

Ah yes, you’re absolutely right 🤦‍♂️ I have added this to the bug list to get fixed — Thanks for highlighting!
