feat: use native select menu for sorts

This commit is contained in:
Xyphyn committed 2023-09-03 17:59:01 -07:00
1 parent 7358486ee0
commit d3ba6d969c
5 files changed
+67 -38

No files matched your search

+6 -6
View File
@@ -51,13 +51,13 @@
</span>
</div>
</div>
<div class="xl:hidden">
<Button color="secondary" on:click={() => (sidebar = !sidebar)}>
About
</Button>
</div>
<div class="flex flex-col sm:flex-row gap-4 max-w-full w-full">
<div class="flex flex-row gap-4 max-w-full w-full items-end">
<Sort selected={data.sort} />
<div class="xl:hidden">
<Button color="secondary" on:click={() => (sidebar = !sidebar)}>
About
</Button>
</div>
</div>
<PostFeed posts={data.posts.posts} />
<Pageination