콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
11901 화면

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
1732
2
5월 24
3448
3
2월 24
2954
2
2월 24
2614
2
11월 22
5807