diff --git a/src/lib/ui/Modal.svelte b/src/lib/ui/Modal.svelte index 5fa3ae3..7f8bd9a 100644 --- a/src/lib/ui/Modal.svelte +++ b/src/lib/ui/Modal.svelte @@ -27,7 +27,7 @@ z-index: 101; display: flex; justify-content: center; - position: absolute; + position: fixed; width: 100vw; height: 100vh; pointer-events: none; @@ -50,7 +50,7 @@ .overlay { width: 100vw; height: 100vw; - position: absolute; + position: fixed; top: 0; left: 0; z-index: 100;