I am generating a PDF in Laravel using Snappy PDF. The problem is that you are not breaking the page in the right place. I've already tried using% css% of CSS where the page break should have been, but it did not work.
I am generating a PDF in Laravel using Snappy PDF. The problem is that you are not breaking the page in the right place. I've already tried using% css% of CSS where the page break should have been, but it did not work.
I solved the problem by adding the class:
.page-break{
page-break-after: always;
}
In the place where I wanted the break.