GIF support #5

Merged
astra merged 2 commits from astra/gifs into main 2025-05-10 15:52:44 +00:00
Showing only changes of commit b4be776c9b - Show all commits

View file

@ -57,12 +57,7 @@
{#each posts as postObject}
<PostComponent post={postObject as Post} />
{/each}
{#if screen.availWidth > 600}
<InfiniteLoading on:infinite={onInfinite} distance={3000} forceUseInfiniteWrapper="#Feed" />
{/if}
{#if screen.availWidth <= 600}
<InfiniteLoading on:infinite={onInfinite} distance={3000} forceUseInfiniteWrapper=false />
{/if}
<InfiniteLoading on:infinite={onInfinite} distance={3000} />
<div id="spacer"></div>
</div>
</div>
@ -83,9 +78,9 @@
color: var(--text-color);
}
#Feed {
overflow-y: scroll;
width: 65%;
height: 100vh;
overflow-y: scroll;
padding: 20px;
padding-bottom: 0;
padding-top: 0;
@ -143,13 +138,12 @@
height: auto;
}
#Feed {
overflow-y: scroll;
width: 95%;
margin: 0px;
margin-left: 10%;
margin-right: 10%;
padding: 0px;
height: auto;
overflow-y: visible;
}
#spacer {