page breaks bug correction
This commit is contained in:
parent
4688f7ea6e
commit
13d2fcc3f6
2 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue