fix: disable animations on print and remove minHeight forcing 2 pages

This commit is contained in:
2026-06-23 14:05:53 +00:00
parent 1d08f16f73
commit 67ec8a4ca7
3 changed files with 11 additions and 4 deletions
+3 -3
View File
@@ -11,11 +11,11 @@ export const PrintableReport: React.FC<PrintableReportProps> = ({ reports }) =>
<div
id="printable-report-container"
data-report={JSON.stringify(reports)}
className="light bg-white text-slate-900 flex flex-col gap-[20mm]"
style={{ width: '210mm', background: 'white' }}
className="light bg-white text-slate-900 flex flex-col gap-8"
style={{ background: 'white' }}
>
{reports.map((report, idx) => (
<div key={idx} className="report-page bg-white" style={{ minHeight: '297mm' }}>
<div key={idx} className="report-page bg-white w-full h-auto">
<ReportDisplay report={report} />
</div>
))}