Merge branch 'codex/fix/directory-loading-center'

This commit is contained in:
Tommaso Casaburi
2026-05-29 17:47:53 +07:00
4 changed files with 48 additions and 22 deletions
+9 -1
View File
@@ -145,8 +145,16 @@
word-break: break-all;
}
.ownerCell {
.ownerCell,
.statusCell {
text-align: center;
vertical-align: middle;
}
.statusLoading {
display: block;
width: fit-content;
margin-inline: auto;
}
.ownerName {
+3 -1
View File
@@ -135,7 +135,9 @@ const DirectoryRow = ({ board, nowSeconds, rank, onVote }: DirectoryRowProps) =>
</Tooltip>
</span>
) : status === 'loading' ? (
<LoadingEllipsis string={t('loading')} />
<span className={styles.statusLoading}>
<LoadingEllipsis string={t('loading')} />
</span>
) : status === 'unknown' ? (
<span className={styles.statusUnavailable}>{DIRECTORY_STATUS_UNAVAILABLE_MARKER}</span>
) : (