Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

fix: export dialog canvas positioning (#3397)

David Luzar422c25449fa7
diff --git a/src/css/styles.scss b/src/css/styles.scss
index b05d642a6a..5592eb25ed 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;
}