mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix ellipsis and skeleton in thread view
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user