From 6ec259a0e71174651bae95d4628138bf6fd68742 Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 15 Mar 2026 16:19:35 -0400 Subject: refactor: packages/ --- packages/excalidraw/components/SVGLayer.scss | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 packages/excalidraw/components/SVGLayer.scss (limited to 'packages/excalidraw/components/SVGLayer.scss') diff --git a/packages/excalidraw/components/SVGLayer.scss b/packages/excalidraw/components/SVGLayer.scss new file mode 100644 index 0000000..1ab5a63 --- /dev/null +++ b/packages/excalidraw/components/SVGLayer.scss @@ -0,0 +1,24 @@ +@import "../css/variables.module.scss"; + +.excalidraw { + .SVGLayer { + pointer-events: none; + width: 100vw; + height: 100vh; + position: fixed; + top: 0; + left: 0; + + z-index: var(--zIndex-svgLayer); + + & svg { + image-rendering: auto; + overflow: visible; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + } + } +} -- cgit v1.2.3