Skip to Content
Menú
This question has been flagged
S'ha tancat la pregunta per raó: Question / Code not indented
per Rakesh Patel (patr) en 01/10/2024 09:09:05

Hello, how do I inherit SCSS file when it has !important?

The parent scss:

/* odoo 16 css */.pos .pos-logo {margin-top: -3px;}.pos .pos-content .numpad { display: none; &.sh_product_numpad{ display: block !important; }}

my scss to inherit the parent:

.pos .pos-content .numpad.sh_product_numpad { display: block;}

Since the parent has "!important", it prevents any further changes on my side so I want to get rid of them. I appreciate any help.



Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de maig 24
3122
1
de maig 25
892
4
de febr. 25
2020
0
de nov. 24
1196
2
d’oct. 24
1146