fix: apply pdf-export class directly to cloned pageEl for html2canvas

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