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
+1 -1
View File
@@ -33,7 +33,7 @@ export const ReportDisplay: React.FC<ReportDisplayProps> = ({ report }) => {
const confidence = report?.confidence || 0;
return (
<div className="animate-fade-in w-full max-w-[210mm] mx-auto bg-white dark:bg-slate-900 shadow-xl print:shadow-none print:m-0 print:p-[8mm_12mm] p-[8mm] sm:p-[10mm_12mm] relative flex flex-col justify-between text-slate-800 dark:text-slate-200 border border-slate-200 dark:border-slate-800 rounded-lg print:rounded-none h-auto min-h-[297mm]">
<div className="animate-fade-in w-full max-w-[210mm] mx-auto bg-white dark:bg-slate-900 shadow-xl print:shadow-none print:m-0 print:p-[8mm_12mm] p-[8mm] sm:p-[10mm_12mm] relative flex flex-col justify-between text-slate-800 dark:text-slate-200 border border-slate-200 dark:border-slate-800 rounded-lg print:rounded-none h-auto">
{/* Cabeçalho (Header) */}
<header className="border-b border-slate-100 dark:border-slate-800 pb-2.5">