Skip to Content
Menu
This question has been flagged
The question has been closed z dôvodu: Question / Code not indented pomocou Rakesh Patel (patr) na 01.10.2024 09:09:05
793 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
máj 24
3321
1
máj 25
1117
4
feb 25
2340
0
nov 24
1293
2
okt 24
1365