REM Units Not Working with Decimal Places for Padding

Not much to describe here… a full unit REM measurement works fine (1, 2, 20 etc.) but adding a decimal place (1.5, 2.25, 20.75 etc) rounds it down, which makes it impossible to have any value between whole numbers.

Not sure when this was introduced, but it wasn’t the case the last time I was testing.

Hi @Pete,

Decimal places seem to work fine for me.

On which element and control are you trying to add decimal units exactly?

Tried a container and a heading, same result in both. Decimal places LOOK like they work if it’s a full number above 1, so 1.5 will look like it works, but it’s the same height as 1rem. Can you add .5rem and actually get padding to appear?

The padding appears fine for me:

If you can’t get it to work, send us an email at help@bricksbuilder.io. I’d be happy to take a closer look into this for you. Be sure to include site URL, temporary login credentials, and link to this forum post.

Here’s what’s happening for me (brand new install, just bricks on it, literally spun it up 15 minutes ago)

Are you using a comma or a dot as a decimal separator? Can you try both and see if any work?

Tried both, same result (though I would always use dot)

Yeah dot should work… I don’t know why this happens for you. Can’t reproduce it, need access to your installation in order to troubleshoot.

@Pete which browser (including version) are you using? Bricks version 1.3.3 I assume since it’s a new install, right?

Edge current version, 1.3.3. Wasn’t happening previously.

Firefox same result

Chrome same result

Safari same result

EDIT

It’s rendering the decimal in the front end. Not in the builder though - which is a bit of a problem for me since I work exclusively in REM