Tweak spinner
This commit is contained in:
parent
2978d91977
commit
995a9869ae
1 changed files with 11 additions and 9 deletions
|
|
@ -101,14 +101,16 @@
|
||||||
<ThreadItem {url} {event} />
|
<ThreadItem {url} {event} />
|
||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
<p class="flex h-10 items-center justify-center py-20">
|
{#if loading || events.length === 0}
|
||||||
<Spinner {loading}>
|
<p class="flex h-10 items-center justify-center py-20" out:fly>
|
||||||
{#if loading}
|
<Spinner {loading}>
|
||||||
Looking for threads...
|
{#if loading}
|
||||||
{:else if events.length === 0}
|
Looking for threads...
|
||||||
No threads found.
|
{:else if events.length === 0}
|
||||||
{/if}
|
No threads found.
|
||||||
</Spinner>
|
{/if}
|
||||||
</p>
|
</Spinner>
|
||||||
|
</p>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue