diff --git a/src/App.svelte b/src/App.svelte
index bbb4871..8d4592e 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -522,7 +522,7 @@
}
function closeDropdown(e) {
- if (!e.target.closest(".tag-dropdown")) {
+ if (!e.target.closest(".filter-dropdown")) {
tagDropdownOpen = false;
// Update window.appData immediately
diff --git a/src/components/Header.svelte b/src/components/Header.svelte
index c19e2ac..1f526d5 100644
--- a/src/components/Header.svelte
+++ b/src/components/Header.svelte
@@ -196,7 +196,66 @@
/
-
+
+
+
+ {#if tagDropdownOpen}
+
+
+
+ {#if allTags.filter((t) => !selectedTags.includes(t.text)).length > 0}
+
+
+ {/if}
+
+ {/if}
+
+
{#each selectedTags as tagText}
{/each}
-
-
- {#if tagDropdownOpen}
-
- {#each allTags.filter((t) => !selectedTags.includes(t.text)) as tagObj}
-
- {/each}
- {#if allTags.filter((t) => !selectedTags.includes(t.text)).length === 0}
- No more tags
- {/if}
-
- {/if}
-
+
+ {#if compactMode}
+
+
+ Compact
+
+ {/if}
-