fix ellipsis and skeleton in thread view

This commit is contained in:
Tom
2023-05-20 17:58:11 +02:00
parent 19595123e7
commit 693f128645
2 changed files with 26 additions and 1 deletions
+25
View File
@@ -643,6 +643,31 @@ export const TopBar = styled.div`
`;
export const BottomBar = styled.div`
.ellipsis {
margin-right: 18px !important;
}
.ellipsis:after {
content: "\\2026";
position: absolute;
-webkit-animation: ellipsis steps(4,end) 1200ms infinite;
animation: ellipsis steps(4,end) 1500ms infinite;
width: 0px;
overflow: hidden;
}
@keyframes ellipsis {
to {
width: 1.25em;
}
}
@-webkit-keyframes ellipsis {
to {
width: 1.25em;
}
}
.reply-stat {
position: relative;
float: right;
+1 -1
View File
@@ -875,7 +875,7 @@ const Thread = () => {
</div>
</div>
</div>
{comment.state === "fetching-ipns" ? <PostLoader /> : null}
{comment.replyCount === undefined ? <PostLoader /> : null}
{sortedReplies.map((reply, index) => {
const replyMediaInfo = getCommentMediaInfo(reply);
const fallbackImgUrl = "assets/filedeleted-res.gif";