diff --git a/common/App.svelte b/common/App.svelte index 4e2af2d..8240206 100644 --- a/common/App.svelte +++ b/common/App.svelte @@ -111,7 +111,6 @@
-
+ diff --git a/common/components/Navbar.svelte b/common/components/Navbar.svelte index b69a118..057569a 100644 --- a/common/components/Navbar.svelte +++ b/common/components/Navbar.svelte @@ -1,10 +1,11 @@ diff --git a/common/components/Profiles.svelte b/common/components/Profiles.svelte index 2be00b9..fde51f0 100644 --- a/common/components/Profiles.svelte +++ b/common/components/Profiles.svelte @@ -86,9 +86,15 @@ if (keyCode === 27) close() } $: $profileView && modal?.focus() + + window.addEventListener('overlay-check', () => { + if ($profileView) { + close() + } + }) -