Skip to content

Commit

Permalink
feat: Remove padding
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Dec 3, 2024
1 parent a3e41b5 commit 3f1cbe2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/utils/use-screenshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ const makeScreenshot = async ({
// Add wrapper node to prevent overflow issues in the screenshot
const wrapperNode = document.createElement("div");
wrapperNode.style.width = `${node.offsetWidth}px`;
wrapperNode.style.padding = "12px";
document.body.appendChild(wrapperNode);

const clonedNode = node.cloneNode(true) as HTMLElement;
Expand Down

0 comments on commit 3f1cbe2

Please sign in to comment.