跳至内容
菜单
此问题已终结
该问题已被关闭 原因: Question / Code not indented
Rakesh Patel (patr)2024年10月01日 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.



形象
丢弃
相关帖文 回复 查看 活动
3
5月 24
3126
1
5月 25
895
4
2月 25
2030
0
11月 24
1197
2
10月 24
1147