diff --git a/frontend/designer.tsx b/frontend/designer.tsx index 596b8e1..adc8426 100644 --- a/frontend/designer.tsx +++ b/frontend/designer.tsx @@ -80,7 +80,7 @@ export function Designer({ data }: { data: Data }) { {...{ ref: nodeRef, className: "container", - style: { position: "relative", display: "flex", flex: 1 }, + style: { position: "relative", display: "flex", flex: 1, overflow: "hidden" }, onMouseMove: (e) => onMouseMove(e.pageX, e.pageY), onTouchMove: (e) => touchToMouse(e, onMouseMove), onMouseUp, diff --git a/pages/_document.js b/pages/_document.js index 6e950a2..81acf7a 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -10,7 +10,6 @@ class MyDocument extends Document { return (
-