node-html-pdf icon indicating copy to clipboard operation
node-html-pdf copied to clipboard

Page overflow with white line

Open danielnydrle opened this issue 3 years ago • 0 comments

Hello, I have an issue when generating PDF files, I have a white line in the bottom with the page components overflowing to next page. I set outline: none; border: none; margin: 0; padding: 0; everywhere and still get this strange behaviour. In the method pdf.toFile(), I set borders: 0, yet I still get this strange issue. No problem with generating PNGs though.

image

Any idea how to fix this?

danielnydrle avatar Mar 09 '23 12:03 danielnydrle