ivmarcos / react-to-pdf

Generate pdf from react components
MIT License
282 stars 62 forks source link

Text is breaking when it goes to new page #120

Open ajmalaPiacademy opened 7 months ago

ajmalaPiacademy commented 7 months ago

image

Is any one know how to fix this

prof-awais commented 6 months ago

Test with react in production mode. I faced some issues related to image and text size, I tested in production it was gone.

Janespot commented 5 months ago

Hi. Did you solve this? I had the same issue. Add <table> and <thead> around your code and add borderBottom: "10px solid transparent" to the <thead>. Add the option page: margin: Margin.SMALL .This worked for me.