Closed n-d-r-d-g closed 3 months ago
The above provided fix did not work. Instead, i used page-break-inside
.
My bad! The code I provided was for a preview, i.e. if you want to preview the page inside the document, without needing the print dialog.
Currently
On some mobile devices, when exporting a PDF via the
Save
button, the content gets cut off if it reaches the end of the page and there is not enough space to fit the whole session card on the current page.Expected
You can use the following in globals to fix this:
You will need to add the
a4-page
class to the root element in thePDFPreview
component for it to work.