Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
La domanda è stata chiusa con motivazione: Question / Code not indented
da Rakesh Patel (patr) - 01/10/2024 09:09:05
801 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
mag 24
3324
1
mag 25
1124
4
feb 25
2347
0
nov 24
1296
2
ott 24
1367