mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix: z-index for laser pointer to be able to draw on embeds and such (#7918)
This commit is contained in:
parent
1bd2b1fe55
commit
c851aaaf7b
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue