mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-16 05:50:03 +02:00
fix: z-index for laser pointer to be able to draw on embeds and such (#7918)
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
@import "../css/variables.module.scss";
|
||||||
|
|
||||||
.excalidraw {
|
.excalidraw {
|
||||||
.SVGLayer {
|
.SVGLayer {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@@ -7,7 +9,7 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
||||||
z-index: 2;
|
z-index: var(--zIndex-svgLayer);
|
||||||
|
|
||||||
& svg {
|
& svg {
|
||||||
image-rendering: auto;
|
image-rendering: auto;
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
:root {
|
:root {
|
||||||
--zIndex-canvas: 1;
|
--zIndex-canvas: 1;
|
||||||
--zIndex-interactiveCanvas: 2;
|
--zIndex-interactiveCanvas: 2;
|
||||||
|
--zIndex-svgLayer: 3;
|
||||||
--zIndex-wysiwyg: 3;
|
--zIndex-wysiwyg: 3;
|
||||||
--zIndex-canvasButtons: 3;
|
--zIndex-canvasButtons: 3;
|
||||||
--zIndex-layerUI: 4;
|
--zIndex-layerUI: 4;
|
||||||
|
Reference in New Issue
Block a user