Open dafapramudya opened 3 years ago
Hi @dafapramudya!
node-html-pdf
is using phantomjs-prebuilt
to render HTML which is a discontinued package. That means that newer CSS features will never be adapted.
display flex too? @latobibor
Its Not working because of the css code, you need to use --webkit css, but i use css Autoprefixer to get the css Autoprefixer
@sorawitw
display flex too?
Actually it works but beware because flex
and page boundaries are not really working well together. (The former ignores the latter).
You can get the gist of the problem from this old question: https://stackoverflow.com/questions/20408033/how-to-get-page-break-inside-avoid-to-work-nicely-with-flex-wrap-wrap
Thank you for your help both @Israel-oduguwa and @latobibor :)
Hi! @marcbachmann and everyone :smiley:
Is CSS Grid Styles hasn't working on node-html-pdf?
So, I try this template:
template.html
Preview template.html:
But I got this result at the document:
When it generated, it looks like this style has been removed:
Any suggestions? please help. Thank you!