Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
To pytanie zostało zamknięte z powodu: Question / Code not indented
przez Rakesh Patel (patr) na 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.



Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
maj 24
3176
1
maj 25
934
4
lut 25
2121
0
lis 24
1224
2
paź 24
1172