diff --git a/site/src/components/SiteSearch.svelte b/site/src/components/SiteSearch.svelte index e3fef29741..ca48690776 100644 --- a/site/src/components/SiteSearch.svelte +++ b/site/src/components/SiteSearch.svelte @@ -60,6 +60,8 @@ let loading = true; let error = null; + let innerWidth; + onMount(async () => { const gotResults = await tryLoad(3); if (gotResults) error = null; @@ -89,9 +91,11 @@ $: results = (loading || error || !query.length) ? [] : search(query); + + {#if showing}
showing = false} transition:fade>
-