Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
De vraag is gesloten voor reden: Question / Code not indented
door Rakesh Patel (patr) met 01-10-2024 09:09:05
799 Weergaven

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
mei 24
3324
1
mei 25
1122
4
feb. 25
2346
0
nov. 24
1296
2
okt. 24
1367