From 558cc859f57479bca8235db92040e7d764e2f8eb Mon Sep 17 00:00:00 2001 From: Meysam Parvizi Date: Sat, 10 Oct 2026 03:09:02 +0200 Subject: [PATCH] fix(site): render the map without transitions when printing The box strokes fade from screen to print colors over 0.15 s, and the PNG/PDF render sometimes captured them mid-fade. That made the output differ slightly between runs and the map fingerprint flip, which created an unnecessary release (v2.0.2). Print styles now disable transitions and animations, so 12 of 12 test renders are byte-identical. --- site/map.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/site/map.css b/site/map.css index d60916f..6200c95 100644 --- a/site/map.css +++ b/site/map.css @@ -450,6 +450,14 @@ } @media print { + /* Print the final colors, not a frame of the screen-to-print color transition. */ + *, + *::before, + *::after { + transition: none !important; + animation: none !important; + } + html[data-theme] { color-scheme: light; --bg: #ffffff;