diff --git a/src/lib/components/searchbox/main.svelte b/src/lib/components/searchbox/main.svelte
index e638d325..790e974b 100644
--- a/src/lib/components/searchbox/main.svelte
+++ b/src/lib/components/searchbox/main.svelte
@@ -191,55 +191,54 @@
- {#if showSuggestions}
- {#await suggestions}
-
- {#each Array(10) as _, i}
- {@const even = i % 2 === 0}
- {@const odd = !even}
- -
-
-
- {/each}
-
- {:then suggestions}
- (currentIndex = -1)}
- class="z-50 w-full rounded-b-lg bg-white dark:bg-neutral-800 border border-neutral-200 dark:border-0"
- >
- {#each suggestions as { value }, i}
- {@const first = i === 0}
- {@const last = i === suggestions.length - 1}
- {@const current = currentIndex === i}
- -
+ {#each Array(10) as _, i}
+ {@const even = i % 2 === 0}
+ {@const odd = !even}
+
-
+
+
+ {/each}
+
+ {:then suggestions}
+ (currentIndex = -1)}
+ class:hidden={!showSuggestions}
+ class="z-50 w-full rounded-b-lg bg-white dark:bg-neutral-800 border border-neutral-200 dark:border-0"
+ >
+ {#each suggestions as { value }, i}
+ {@const first = i === 0}
+ {@const last = i === suggestions.length - 1}
+ {@const current = currentIndex === i}
+ -
+
- {/each}
-
- {/await}
- {/if}
+ {value}
+
+
+ {/each}
+
+ {/await}
{#if !homepage}