ivmarcos/react-to-pdf

2 Pages showing in the downloaded PDF(unwanted 2nd page)

DavOlufuwa opened this issue · 1 comments

Please my entire component is in a single page and I only want to download that page. I followed the codepen example and I am seeing a second blank empty page as part of the downloaded PDF file. Please help. Your work has saved me a great load of stress.

I fixed it, I padded the top and bottom of the element to be converted to PDF, the margin property of the page then pushed into the second page.