page breaks bug correction

This commit is contained in:
Luis Aleixo 2021-08-19 16:22:26 +02:00
parent 4688f7ea6e
commit 13d2fcc3f6
2 changed files with 5 additions and 5 deletions

View file

@ -109,13 +109,13 @@ p.notes {
page-break-inside: avoid;
}
.first_page {
height: 370pt;
height: 380pt;
}
.second_page {
height: 500pt;
height: 540pt;
}
.third_page {
height: 100pt;
height: 90pt;
}
.fourth_page {
height: 650pt;

View file

@ -5,8 +5,8 @@ function execute_me(qr_link) {
console.log(window);
var opt = {
filename: 'myfile.pdf',
image: { type: 'jpeg', quality: 0.9 },
html2canvas: { width: 1200, windowWidth: 1200 },
image: { type: 'jpeg', quality: 0.98 },
html2canvas: { scale: 2, width: 1200, windowWidth: 1200 },
enableLinks: false,
jsPDF: {
unit: 'pt',