Different CSS UNITS for Padding & Margin

Hi There,

I am trying out the latest version of Bricks on try.bricksbuilder.io. When reading the changelog, I saw that we could now use different css units for margin and padding instead of just pixels. When I look at the! STYLE tab for the container element, I see options for this on all the other options, except for the margin and padding.

Is there something I am missing here?

Screen Shot 2021-05-18 at 3.03.12 PM

In Bricks 1.2.2., you now see “Select/enter unit” when you hover over the “px” value. Clicking triggers a pop-up menu with different choices, as shown in the attached screenshot.

i can’t find this in 1.5.7v :frowning:

Hi @omideslami,

Since 1.5.1 (Sep 7, 2022), the number + unit control is unified into one value (number & unit).
If you want 5rem, you need to manually insert your unit after the value. By default, px are applied.

Have a great day,
Thomas