From 17999024486065db7406ca1c3bab94603ae1ef25 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 27 Jan 2026 14:54:48 -0600 Subject: [PATCH] Fix PDF status pill text centering for html2canvas Replace flexbox-based centering (inline-flex, alignItems, justifyContent) with explicit height + line-height matching (22px) for reliable rendering in html2canvas. Flexbox properties don't render consistently when converting HTML to canvas. Co-Authored-By: Claude Opus 4.5 --- frontend/components/PDFReport.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/PDFReport.tsx b/frontend/components/PDFReport.tsx index 80bf578..320e95d 100755 --- a/frontend/components/PDFReport.tsx +++ b/frontend/components/PDFReport.tsx @@ -75,7 +75,7 @@ const RagStatusBadge: React.FC<{ status: RagStatus }> = ({ status }) => { } return ( - + {status} );