Skip to content

Commit

Permalink
px
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoskolodny committed Nov 29, 2024
1 parent 908bd81 commit d904ea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/advent-calendar-2024/pages/claim-your-gift.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d904ea4

Please sign in to comment.