Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
Spørgsmålet er blevet lukket på grund af: Question / Code not indented
af Rakesh Patel (patr)01-10-2024 09:09:05
676 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
3
maj 24
3130
1
maj 25
897
4
feb. 25
2034
0
nov. 24
1197
2
okt. 24
1150