0

I'm integrating Apple Pay in an Angular 10 website. When building the app some SCSS styles colors are converted from white to #fff or from black to #000. Normally this is helpful to make the size smaller. In this case, however, it makes Safari fail when styling the button.

Is there any way to tell Angular CLI to not compress a specific SCSS line?

I want this line not to be changed and keep doing what it is doing everywhere else.

-apple-pay-button-style: white;

Thanks in advance.

Agustin Lopez
  • 1,315
  • 4
  • 17
  • 33
  • instead of using `white` have you tried doing `-apple-pay-button-style: #ffffff;`? – rhavelka Aug 31 '20 at 15:34
  • I just tried @rhavelka but it does not work. It's like the Safari expects the word and that is why I'm trying to just disable any optimization for that line. – Agustin Lopez Aug 31 '20 at 16:02

0 Answers0