arachnys / athenapdf

Drop-in replacement for wkhtmltopdf built on Go, Electron and Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The generated PDF has only one page

VarroReve opened this issue · comments

commented

The generated PDF only has one page, which the origin website has several pages.

screenshot of the generated PDF:
image

screenshot of the website:
image

http://sakyavarro.cn/resume

I know aggressive mode can work, but since it's my resume page, i want to keep the PDF pretty as the html. Please help me, I would really appreciate it

The behaviour is expected. Your website was designed with a div set to match exactly the height of the screen, and to overflow. I'd suggest applying some print specific styles to remove the height: 100%, and any overflow.