İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
11896 Görünümler

I want to use the power of CSS Flexbox when creating a PDF report. How to apply CSS Flexbox in QWeb? 

Avatar
Vazgeç

Please be specific.

En İyi Yanıt

You need to use an older syntax because the reporting system is using QtWebKit 2.3 (it's 10 years old).

Source

.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.

Avatar
Vazgeç

Thanks

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
May 24
1732
2
May 24
3446
3
Şub 24
2954
2
Şub 24
2611
2
Kas 22
5805