forked from coracle/flotilla
Tweak spinner
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user