Tweak spinner

This commit is contained in:
Jon Staab
2024-11-14 12:55:17 -08:00
parent 2978d91977
commit 995a9869ae
+11 -9
View File
@@ -101,14 +101,16 @@
<ThreadItem {url} {event} />
</div>
{/each}
<p class="flex h-10 items-center justify-center py-20">
<Spinner {loading}>
{#if loading}
Looking for threads...
{:else if events.length === 0}
No threads found.
{/if}
</Spinner>
</p>
{#if loading || events.length === 0}
<p class="flex h-10 items-center justify-center py-20" out:fly>
<Spinner {loading}>
{#if loading}
Looking for threads...
{:else if events.length === 0}
No threads found.
{/if}
</Spinner>
</p>
{/if}
</div>
</div>