Roots Discourse

Yarn build:production Strips out Border Radius Values

Yarn build:production removes the first value from border-radius.

border-bottom-left-radius: 50% 8%;
border-bottom-right-radius: 50% 8%;

The 50% is stripped out in this case.

It works correctly on yarn build.

This fixes it on production:

-webkit-border-bottom-left-radius: 50% 8% !important;
-webkit-border-bottom-right-radius: 50% 8% !important;

Is autoprefixer supposed to do this? running version - 8.2.0

Has anyone else experienced this?

I can’t reproduce this. Have you tried this on a Sage install without any modifications? What other styles do you have on that selector?

FWIW -webkit prefix hasn’t been necessary for border-radius for a while… it was used on Safari 3-4, iOS 1-3.2, Android 1.6