Smooth out thread feed
This commit is contained in:
@@ -134,7 +134,7 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
{#if ellipsize}
|
{#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}>
|
<button type="button" class="btn" on:click|stopPropagation|preventDefault={expand}>
|
||||||
See more
|
See more
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -39,6 +39,8 @@
|
|||||||
if (element) {
|
if (element) {
|
||||||
const scroller = createScroller({
|
const scroller = createScroller({
|
||||||
element,
|
element,
|
||||||
|
delay: 300,
|
||||||
|
threshold: 3000,
|
||||||
onScroll: async () => {
|
onScroll: async () => {
|
||||||
const $loader = await loader
|
const $loader = await loader
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user