Open shinokada opened 2 years ago
Please check this in your css styles:
display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
I put this code in,but did not work
https://github.com/Sicos1977/ChromeHtmlToPdf ... also works on Linux
wkhtmltopdf version(s) affected: x.y.z
wkhtmltopdf 0.12.6 (with patched qt)
OS information
MacOS 11.6
Description
When I create an image with and without CSS flex, there is no difference in created images using
wkhtmltoimage
. The browser renders flex value and it positions at the center in the following CSS.How to reproduce
index.html
Terminal code:
Expected behavior
It should reflect the CSS flex and positions it in the center.