Skip to Content
मेन्यू
This question has been flagged
The question has been closed for reason: Question / Code not indented
by Rakesh Patel (patr) on मंगलवार 01 अक्तू॰ 2024 09:09:05

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
Discard
Related Posts Replies Views Activity
3
मई 24
3354
1
अग॰ 25
161
1
मई 25
1154
4
फ़र॰ 25
2418
0
नव॰ 24
1316