Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
Otázka byla uzavřena pro důvod: Question / Code not indented od Rakesh Patel (patr) na 01.10.2024 09:09:05
822 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
3
kvě 24
3348
1
srp 25
75
1
kvě 25
1150
4
úno 25
2400
0
lis 24
1311