コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
11549 ビュー

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

アバター
破棄

Please be specific.

最善の回答

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.

アバター
破棄

Thanks

関連投稿 返信 ビュー 活動
0
5月 24
1587
2
5月 24
3197
3
2月 24
2748
2
2月 24
2471
2
11月 22
5599