Font size variable gets changed to 'rem' units from 'px' units

Kannan Nadar
Tera Guru

Hello All,

I have defined few CSS variables with font-size as 12px, 24px etc in my Theme. These variables are being used in my CSS files. When its applied and rendered on the portal it is being applied as 1.2rem, 2.4rem etc. How do I stop this form happening?

Thanks,
Kannan

2 REPLIES 2

Kannan Nadar
Tera Guru

As of now, I ended up converting the px to rem.

jdestef
Tera Contributor

Would like to know if it's possible to stop this as well.