From 3d1f38bdce51d70e3190d582aed08a6ed648b4a0 Mon Sep 17 00:00:00 2001 From: ari melody Date: Mon, 14 Jul 2025 04:53:55 +0100 Subject: [PATCH] fix compose modal not following with page scroll --- src/lib/ui/Modal.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;