feat: replace html2canvas with native high-quality browser printing

This commit is contained in:
2026-06-23 13:15:38 +00:00
parent a4a1c82acc
commit 189bf399dc
3 changed files with 43 additions and 26 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export const PrintableReport: React.FC<PrintableReportProps> = ({ reports }) =>
style={{ width: '210mm', background: 'white' }}
>
{reports.map((report, idx) => (
<div key={idx} className="report-page pdf-export bg-white" style={{ minHeight: '297mm' }}>
<div key={idx} className="report-page bg-white" style={{ minHeight: '297mm' }}>
<ReportDisplay report={report} />
</div>
))}