I want to use the power of CSS Flexbox when creating a PDF report. How to apply CSS Flexbox in QWeb?
Esta pergunta foi sinalizada
1
Responder
14891
Visualizações
You need to use an older syntax because the reporting system is using QtWebKit 2.3 (it's 10 years old).
.foo { display: -webkit-box; /* wkhtmltopdf uses this one */ display: -webkit-flex; display: flex; -webkit-box-pack: center; /* wkhtmltopdf uses this one */ -webkit-justify-content: center; justify-content: center; }
There should be a way to use the new syntax on Odoo but I can't help you, if you find a solution let me know.
Thanks
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
0
mai. 24
|
4008 | ||
|
|
2
mai. 24
|
6498 | ||
|
Sale Order PDF Report
Resolvido
|
|
3
fev. 24
|
5958 | |
|
|
2
fev. 24
|
4447 | ||
|
|
2
nov. 22
|
8439 |
Please be specific.