Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
A pergunta foi fechada por motivo: Question / Code not indented
por Rakesh Patel (patr) em 01/10/2024 09:09:05
800 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
mai. 24
3324
1
mai. 25
1124
4
fev. 25
2347
0
nov. 24
1296
2
out. 24
1367