Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
Câu hỏi đã đóng với nguyên nhân: Question / Code not indented bởi Rakesh Patel (patr) trên 01/10/2024 09:09:05
682 Lượt xem

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.



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 5 24
3150
1
thg 5 25
908
4
thg 2 25
2054
0
thg 11 24
1203
2
thg 10 24
1153