Smooth out thread feed

This commit is contained in:
Jon Staab
2024-10-24 11:55:15 -07:00
parent dd7c0f3b07
commit ab979fd7a6
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -134,7 +134,7 @@
{/each}
</div>
{#if ellipsize}
<div class="relative z-feature -m-6 flex justify-center bg-gradient-to-t from-base-100 py-2">
<div class="relative z-feature -mt-6 flex justify-center bg-gradient-to-t from-base-100 py-2">
<button type="button" class="btn" on:click|stopPropagation|preventDefault={expand}>
See more
</button>
+2
View File
@@ -39,6 +39,8 @@
if (element) {
const scroller = createScroller({
element,
delay: 300,
threshold: 3000,
onScroll: async () => {
const $loader = await loader