We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72bae2 commit 6423eb0Copy full SHA for 6423eb0
app/utils/use-screenshot.ts
@@ -100,7 +100,6 @@ const makeScreenshot = async ({
100
// Add wrapper node to prevent overflow issues in the screenshot
101
const wrapperNode = document.createElement("div");
102
wrapperNode.style.width = `${node.offsetWidth}px`;
103
- wrapperNode.style.marginTop = `${node.offsetHeight}px`;
104
document.body.appendChild(wrapperNode);
105
106
const clonedNode = node.cloneNode(true) as HTMLElement;
0 commit comments