Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
The question has been closed iz razloga: Question / Code not indented
by Rakesh Patel (patr) na 01. 10. 2024 09:09:05
816 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
maj 24
3343
1
maj 25
1147
4
feb. 25
2382
0
nov. 24
1307
2
okt. 24
1376