From 2302436fbc8d65fe89b79646995c5e7e02bf38fe Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Wed, 25 Sep 2024 15:31:18 +0200 Subject: [PATCH] fix: more robust positioning of the modal by adding `margin: auto`, see #384 --- src/lib/components/modals/Modal.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/modals/Modal.svelte b/src/lib/components/modals/Modal.svelte index f0b5c7b9..6b07b259 100644 --- a/src/lib/components/modals/Modal.svelte +++ b/src/lib/components/modals/Modal.svelte @@ -43,6 +43,7 @@ padding: 0; display: flex; min-width: 0; + margin: auto; overflow: visible; transition: width 0.1s ease-in-out,