+
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 @@
{ _click(); if (!icon.includes("favorite")) { window.dispatchEvent(new Event('overlay-check')) } } }>
+ use:click={() => { if (!icon.includes("favorite")) { window.dispatchEvent(new Event('overlay-check')) } _click() } }>
- {icon}
+ {icon}
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()
+ }
+ })
-
+
{#if $profileView}
@@ -183,6 +189,9 @@
.mt-2 {
margin-top: .4rem;
}
+ .z-55 {
+ z-index: 55;
+ }
.mw-400 {
min-width: 35rem;
}
diff --git a/common/components/Sidebar.svelte b/common/components/Sidebar.svelte
index 41e181e..f69273f 100644
--- a/common/components/Sidebar.svelte
+++ b/common/components/Sidebar.svelte
@@ -1,9 +1,10 @@