Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
Pertanyaan sudah ditutup untuk alasan: Question / Code not indented
oleh Rakesh Patel (patr) pada 01/10/2024 09:09:05
802 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
3
Mei 24
3327
1
Mei 25
1124
4
Feb 25
2352
0
Nov 24
1296
2
Okt 24
1370