misc: hide list swap at too small of a viewport

This commit is contained in:
Xyphyn committed 2023-09-04 11:41:50 -07:00
1 parent 54a9d1b346
commit 1df4aafb1c
1 file changed
+2
+2
View File
@@ -56,9 +56,11 @@
</Select> </Select>
<div class="flex gap-4 flex-wrap"> <div class="flex gap-4 flex-wrap">
<Sort selected={data.sort} /> <Sort selected={data.sort} />
<div class="max-[400px]:hidden">
<ViewSelect /> <ViewSelect />
</div> </div>
</div> </div>
</div>
<section class="flex flex-col gap-3 sm:gap-4 h-full"> <section class="flex flex-col gap-3 sm:gap-4 h-full">
<PostFeed posts={data.posts.posts} /> <PostFeed posts={data.posts.posts} />
</section> </section>