Skip to content

Commit 6423eb0

Browse files
committed
fix: PNG download
1 parent a72bae2 commit 6423eb0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/utils/use-screenshot.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ const makeScreenshot = async ({
100100
// Add wrapper node to prevent overflow issues in the screenshot
101101
const wrapperNode = document.createElement("div");
102102
wrapperNode.style.width = `${node.offsetWidth}px`;
103-
wrapperNode.style.marginTop = `${node.offsetHeight}px`;
104103
document.body.appendChild(wrapperNode);
105104

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

0 commit comments

Comments
 (0)