0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

fix(console): prevent css overiding in table-loading (#454)

This commit is contained in:
Wang Sijie 2022-03-28 15:02:28 +08:00 committed by GitHub
parent fd8ea43f0b
commit 7d76428e57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
@use '@/scss/underscore' as _;
.loading {
td > div {
.rect {
border-radius: _.unit(2);
background: var(--color-neutral-95);
height: 32px;

View file

@ -17,7 +17,7 @@ const TableLoading = ({ columns }: Props) => {
{Array.from({ length: columns - 1 }).map((_, index) => (
// eslint-disable-next-line react/no-array-index-key
<td key={index}>
<div />
<div className={styles.rect} />
</td>
))}
</tr>