From 48e63464d877ba78f682f9488963dca612ec37d6 Mon Sep 17 00:00:00 2001 From: martin-mfg <2026226+martin-mfg@users.noreply.github.com> Date: Sun, 21 Sep 2025 14:46:47 +0200 Subject: [PATCH] fix PNG download --- frontend/frontend/src/pages/Home/stages/Display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/frontend/src/pages/Home/stages/Display.js b/frontend/frontend/src/pages/Home/stages/Display.js index ad235665..502c0e8c 100644 --- a/frontend/frontend/src/pages/Home/stages/Display.js +++ b/frontend/frontend/src/pages/Home/stages/Display.js @@ -17,7 +17,7 @@ const DisplayStage = ({ userId, themeSuffix }) => { const downloadPNG = () => { saveSvgAsPng( - document.getElementById('svg-card').firstElementChild, + document.getElementById('abc').shadowRoot.firstElementChild.firstElementChild, `${userId}_${card}.png`, { scale: 2,