Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
Întrebarea a fost închisă pentru motivul: Question / Code not indented
de Rakesh Patel (patr) pe 01.10.2024 09:09:05
794 Vizualizări

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.



Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
mai 24
3321
1
mai 25
1117
4
feb. 25
2340
0
nov. 24
1293
2
oct. 24
1365