diff --git a/src/lib/components/AppSettings.svelte b/src/lib/components/AppSettings.svelte index b81b056..7ce1332 100644 --- a/src/lib/components/AppSettings.svelte +++ b/src/lib/components/AppSettings.svelte @@ -1,5 +1,4 @@ - - + + diff --git a/src/lib/components/GlobalSearch.svelte b/src/lib/components/GlobalSearch.svelte index cca0f9c..b567125 100644 --- a/src/lib/components/GlobalSearch.svelte +++ b/src/lib/components/GlobalSearch.svelte @@ -17,6 +17,6 @@ loading.set(true); onsubmit?.(searchString, true); }}> - - + + \ No newline at end of file diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte index 9d93230..5c9c4ad 100644 --- a/src/lib/components/Header.svelte +++ b/src/lib/components/Header.svelte @@ -1,13 +1,20 @@ -
+
{#if back} - + {/if} - { - onsubmit?.(val, explicitRefresh); - }} /> + {#if showSearch} + { + onsubmit?.(val, explicitRefresh); + }} /> + {/if} + + +
diff --git a/src/lib/components/PostMedia.svelte b/src/lib/components/PostMedia.svelte index 2c47e1f..9aa14a6 100644 --- a/src/lib/components/PostMedia.svelte +++ b/src/lib/components/PostMedia.svelte @@ -9,16 +9,23 @@ /** @type {Props} */ let { post = null, class: className} = $props(); + let elemRef; {#if post?.preview?.has} {`Post {:else} {#if ['webm', 'mp4'].includes(post.file.ext)} -