SOLVED: Border Radius in 1.5.1 RC

Bricks Version: 1.5.1 RC
Browser: Chrome 90
OS: macOS / Windows / Linux / etc.

TLDR
Border radius won’t appear on the backend. Works well on the frontend.

Description
Using global class selector for div when I use border styling and when I input any value (so 30px/10rem/var(–space-m)) it won’t appear on backend for this element but works as it’s suppose to on frontend.

Devtool shows that inside builder it always appends px after the value string. Even when using pixels in the first place.


1 Like

I also noticed this on some things I was working on.

Hopefully they can reproduce it.

Also the border radius does not work for images, please check it out

Hi Wojtek & Mehdi,
Thanks so much for your report!

Unfortunately, I cannot reproduce the issues using the latest 1.5.1, which is available as a manual download within your account: Account – Bricks

Can you please try it again using this version?

Best regards,
timmse

fixed in stable 1.5.1 :slight_smile: great job!

1 Like

Unfortunately, I just ran into this issue when upgrading to 1.5.2 from 1.5. However, the issue is a bit different: the border-radius looks good on the editor, but the front end doesn’t display it correctly.

After inspecting the affected elements, the radius had the wrong unit (I was using rems and it was set to px).

An easy fix was to change the radius and then back again. Once I saved the page, the element started to display the correct unit on the FE. Not super major since I didn’t have a lot of elements that needed fixing, but it does need to be looked into.

@timmse I can send you a live link so you can see what I’m seeing. Send me a pm and I’ll send you the credentials.