+3
-9
src/App.svelte
+3
-9
src/App.svelte
···
57
57
{#each posts as postObject}
58
58
<PostComponent post={postObject as Post} />
59
59
{/each}
60
-
{#if screen.availWidth > 600}
61
-
<InfiniteLoading on:infinite={onInfinite} distance={3000} forceUseInfiniteWrapper="#Feed" />
62
-
{/if}
63
-
{#if screen.availWidth <= 600}
64
-
<InfiniteLoading on:infinite={onInfinite} distance={3000} forceUseInfiniteWrapper=false />
65
-
{/if}
60
+
<InfiniteLoading on:infinite={onInfinite} distance={3000} />
66
61
<div id="spacer"></div>
67
62
</div>
68
63
</div>
···
83
78
color: var(--text-color);
84
79
}
85
80
#Feed {
81
+
overflow-y: scroll;
86
82
width: 65%;
87
83
height: 100vh;
88
-
overflow-y: scroll;
89
84
padding: 20px;
90
85
padding-bottom: 0;
91
86
padding-top: 0;
···
143
138
height: auto;
144
139
}
145
140
#Feed {
146
-
overflow-y: scroll;
147
141
width: 95%;
148
142
margin: 0px;
149
143
margin-left: 10%;
150
144
margin-right: 10%;
151
145
padding: 0px;
152
-
height: auto;
146
+
overflow-y: visible;
153
147
}
154
148
155
149
#spacer {