コンテンツへスキップ
メニュー
この質問にフラグが付けられました
質問は終了しました 理由: Question / Code not indented
次により: Rakesh Patel (patr) on 2024年10月01日 09時09分05秒
795 ビュー

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
3321
1
5月 25
1117
4
2月 25
2340
0
11月 24
1293
2
10月 24
1365