تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
12084 أدوات العرض

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
مايو 24
1867
2
مايو 24
3648
3
فبراير 24
3135
2
فبراير 24
2727
2
نوفمبر 22
5974