diff --git a/resources/js/views/scores/report.vue b/resources/js/views/scores/report.vue index b47972a..9d58f06 100644 --- a/resources/js/views/scores/report.vue +++ b/resources/js/views/scores/report.vue @@ -128,7 +128,11 @@ export default { const element = document.getElementById('scoresReport'); // html2pdf(document.getElementById('scoresReport')); html2pdf().from(element).set({ - pagebreak: { mode: 'avoid-all', before: '#scoreReport' }, + pagebreak: { + mode: 'avoid-all', + before: '#scoreReport', + }, + html2canvas: { dpi: 96, letterRendering: true }, }).save('scores_report_' + this.grade.id); }, },