Skip to content

Conversation

NKnife
Copy link

@NKnife NKnife commented Aug 13, 2020

If mode include "avoid-all", and first line clientRect.top less than 0, pagebreaks.js will create full page div, make first page empty

test case

// pagebreaks.html
  ...
    <div id="root">
      <p style='margin-top: -10px'>First line</p>
  ...

@Remote-version-git
Copy link

I encounter a problem that img or text content is truncated.
how to solve pagination truncated problem in html2pdf.js?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants