From d904ea4eddef35789ed60f77dc1f801bf21e651f Mon Sep 17 00:00:00 2001 From: marcoskolodny Date: Fri, 29 Nov 2024 15:11:42 +0100 Subject: [PATCH] px --- src/pages/advent-calendar-2024/pages/claim-your-gift.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/advent-calendar-2024/pages/claim-your-gift.jsx b/src/pages/advent-calendar-2024/pages/claim-your-gift.jsx index ae9f9476f8..91c413941f 100644 --- a/src/pages/advent-calendar-2024/pages/claim-your-gift.jsx +++ b/src/pages/advent-calendar-2024/pages/claim-your-gift.jsx @@ -725,9 +725,9 @@ const ClaimYourGift = () => { const originalSvgElement = document.getElementById("illustration-svg"); const clonedSvgElement = originalSvgElement.cloneNode(true); - const posterWidth = 500; + const posterWidth = 500; // <---- cambia este numero - clonedSvgElement.setAttribute("width", `${posterWidth}`); + clonedSvgElement.setAttribute("width", `${posterWidth}px`); clonedSvgElement.setAttribute("height", `${(posterWidth * 7) / 5}px`); const svgString = new XMLSerializer().serializeToString(clonedSvgElement); const url = URL.createObjectURL(