aboutsummaryrefslogtreecommitdiffstats
path: root/packages/excalidraw/components/SVGLayer.scss
blob: 1ab5a6347b0747c946c11c3b6e95a1e9e735969a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
    }
  }
}