feat: change the way placeholders work

This commit is contained in:
Xyphyn committed 2023-08-26 10:59:19 -07:00
1 parent 8aa62b046e
commit e86d436c86
12 files changed
+121 -96

No files matched your search

+5 -4
View File
@@ -65,10 +65,11 @@
</div>
</div>
{#if !data.results}
<Placeholder>
<Icon src={MagnifyingGlass} size="28" solid slot="icon" />
<span slot="title">No results</span>
</Placeholder>
<Placeholder
icon={MagnifyingGlass}
title="No results"
description="Search across the fediverse"
/>
{:else}
{#await data.streamed.object}
<div