From debbefcb43bee8b146546e14b20c2bfd7020c747 Mon Sep 17 00:00:00 2001 From: Local Build Date: Thu, 13 Aug 2026 21:01:55 +0200 Subject: [PATCH] fix(pdf): use html2canvas onclone to inline all styles before render Previous flattenColors approach failed because html2canvas reads CSS rules from stylesheets, not computed styles. Now in the onclone callback: 1. Walk all elements, get computed styles from original doc 2. Set every property as inline style on cloned elements 3. Remove all