Merge pull request #120 from WardPearce/fix/channel-loading

Fix channel infinite loading
This commit is contained in:
Ward
2024-04-13 02:32:08 +12:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
@@ -24,6 +24,11 @@
async function loadMore(event: InfiniteEvent) {
if (typeof displayContent === 'undefined') return;
if (typeof displayContent.continuation === 'undefined') {
event.detail.complete();
return;
}
const newContent = await getChannelContent(data.channel.authorId, {
type: tab,
continuation: displayContent.continuation
+4
View File
@@ -27,6 +27,10 @@
margin-right: 5px !important;
}
.infinite-status-prompt {
display: none !important;
}
@media screen and (max-width: 580px) {
main {
padding-left: 0.1em !important;