Merge pull request #349 from Xyphyn/infinite-scroll

feat: add infinite scroll
This commit is contained in:
Xylight authored and GitHub committed 2024-07-09 16:22:28 -07:00
commit 49a0e983df
19 files changed
+561 -110

No files matched your search

+2 -1
View File
@@ -84,7 +84,7 @@
<!-- svelte-ignore a11y-click-events-have-key-events -->
<Material
color={view != 'card' ? 'none' : 'distinct'}
class="relative max-w-full min-w-0 w-full group cursor-pointer
class="post relative max-w-full min-w-0 w-full group cursor-pointer
{view != 'card' ? 'bg-transparent !border-0' : 'p-5'} {view == 'compact'
? 'py-4 list-type'
: view == 'list'
@@ -95,6 +95,7 @@
on:click={(e) => {
onClick(e)
}}
style={$$props.style ?? ''}
>
<PostMeta
community={post.community}