Fix bugs on status page

This commit is contained in:
Lim Chee Aun 2022-12-10 21:19:38 +08:00
parent 7e312a38ff
commit d884cddf16
2 changed files with 7 additions and 5 deletions

View file

@ -58,9 +58,10 @@
.indirect .status { .indirect .status {
padding-left: 57px; padding-left: 57px;
} }
.indirect .status > .avatar { .indirect .status .avatar {
width: 25px !important; width: 25px !important;
height: 25px !important; height: 25px !important;
transform: translateX(5px);
} }
.status:not(.small) .container { .status:not(.small) .container {

View file

@ -179,10 +179,11 @@ export default ({ id }) => {
)} )}
{uiState === 'loading' && {uiState === 'loading' &&
isHero && isHero &&
!!heroStatus?.repliesCount && ( !!heroStatus?.repliesCount &&
statuses.length === 1 && (
<div class="status-loading"> <div class="status-loading">
<Loader />{' '} <Loader />
<span> {/* {' '}<span>
{!!replies.length && {!!replies.length &&
replies.length !== comments.length && ( replies.length !== comments.length && (
<> <>
@ -197,7 +198,7 @@ export default ({ id }) => {
{comments.length > 1 ? 's' : ''} {comments.length > 1 ? 's' : ''}
</> </>
)} )}
</span> </span> */}
</div> </div>
)} )}
</li> </li>