Skip to Content
Menu
This question has been flagged
The question has been closed priežastis: Question / Code not indented
by Rakesh Patel (patr) nuo 2024-10-01 09:09:05
824 Rodiniai

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.



Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
geg. 24
3353
1
rugp. 25
160
1
geg. 25
1154
4
vas. 25
2418
0
lapkr. 24
1316