diff --git a/src/css/styles.scss b/src/css/styles.scss index b05d642a..5592eb25 100644 --- a/src/css/styles.scss +++ b/src/css/styles.scss @@ -47,9 +47,11 @@ image-rendering: -moz-crisp-edges; // FF z-index: var(--zIndex-canvas); + } - // Remove canvas from document flow to avoid resizeObserver feedback loop - // (see https://github.com/excalidraw/excalidraw/pull/3379) + #canvas { + // Remove the main canvas from document flow to avoid resizeObserver + // feedback loop (see https://github.com/excalidraw/excalidraw/pull/3379) position: absolute; }