diff --git a/common/App.svelte b/common/App.svelte index dc1a2b2..a590d10 100644 --- a/common/App.svelte +++ b/common/App.svelte @@ -64,10 +64,10 @@
-
+ diff --git a/common/components/Navbar.svelte b/common/components/Navbar.svelte index fb1fa2b..3f39e98 100644 --- a/common/components/Navbar.svelte +++ b/common/components/Navbar.svelte @@ -1,6 +1,8 @@ diff --git a/common/components/Profiles.svelte b/common/components/Profiles.svelte index 030e6b7..376bf20 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() + } + }) -