跳至內容
選單
此問題已被標幟
問題已關閉 原因: Question / Code not indented
Rakesh Patel (patr)2024年10月01日 09時09分05秒
753 瀏覽次數

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
3285
1
5月 25
1063
4
2月 25
2290
0
11月 24
1267
2
10月 24
1306