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