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
679 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
3141
1
geg. 25
905
4
vas. 25
2047
0
lapkr. 24
1200
2
spal. 24
1152