Compare commits

...
Sign in to create a new pull request.

3 commits

4 changed files with 20 additions and 6 deletions

View file

@ -52,12 +52,12 @@
<p>Error: {error.message}</p>
{/await}
<div id="Feed">
<div id="Feed" property="infinite-wrapper">
<div id="spacer"></div>
{#each posts as postObject}
<PostComponent post={postObject as Post} />
{/each}
<InfiniteLoading on:infinite={onInfinite} distance={3000} />
<InfiniteLoading on:infinite={onInfinite} distance={3000} forceUseInfiniteWrapper=true />
<div id="spacer"></div>
</div>
</div>
@ -129,7 +129,7 @@
margin-top: 5%;
}
#Account {
width: auto;
width: 85%;
padding-left: 5%;
padding-right: 5%;
margin-bottom: 20px;

View file

@ -66,6 +66,10 @@ body {
font-size: 24px;
color: var(--text-color);
border-color: var(--border-color);
overflow-wrap: break-word;
word-wrap: normal;
word-break: break-word;
hyphens: none;
}
h1 {
@ -75,6 +79,7 @@ h1 {
#app {
max-width: 1400px;
width: 100%;
margin: 0;
padding: 0;
margin-left: auto;

View file

@ -32,17 +32,18 @@
#accountName {
margin-left: 10px;
font-size: 0.9em;
max-width: 80%;
/* replace overflow with ellipsis */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 80%;
}
#avatar {
width: 50px;
height: 50px;
margin: 0px;
object-fit: cover;
border-right: var(--border-color) 1px solid;
}
</style>

View file

@ -222,13 +222,21 @@
margin-left: 10px;
font-size: 0.9em;
text-align: start;
overflow-wrap: break-word;
word-break: break-word;
max-width: 80%;
max-height: 95%;
overflow: hidden;
align-self: flex-start;
margin-top: auto;
margin-bottom: auto;
}
#avatar {
height: 100%;
height: 60px;
width: 60px;
margin: 0px;
margin-left: 0px;
overflow: hidden;
object-fit: cover;
border-right: var(--border-color) 1px solid;
}
#carouselContainer {