fix(core): update
This commit is contained in:
		| @@ -150,12 +150,17 @@ export class SmartPdf { | ||||
|         documentWidth: document.body.clientWidth, | ||||
|       }; | ||||
|     }); | ||||
|     await page.setViewport({ | ||||
|       width: 1920, | ||||
|       height: documentHeight, | ||||
|     }); | ||||
|     const pdfBuffer = await page.pdf({ | ||||
|       height: documentHeight, | ||||
|       width: 1920, | ||||
|       printBackground: true, | ||||
|       displayHeaderFooter: false, | ||||
|       scale: 1 | ||||
|       scale: 1, | ||||
|       pageRanges: '1' | ||||
|     }); | ||||
|     await page.close(); | ||||
|     return { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user