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:
parent
fd8ea43f0b
commit
7d76428e57
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
@use '@/scss/underscore' as _;
|
@use '@/scss/underscore' as _;
|
||||||
|
|
||||||
.loading {
|
.loading {
|
||||||
td > div {
|
.rect {
|
||||||
border-radius: _.unit(2);
|
border-radius: _.unit(2);
|
||||||
background: var(--color-neutral-95);
|
background: var(--color-neutral-95);
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
|
|
@ -17,7 +17,7 @@ const TableLoading = ({ columns }: Props) => {
|
||||||
{Array.from({ length: columns - 1 }).map((_, index) => (
|
{Array.from({ length: columns - 1 }).map((_, index) => (
|
||||||
// eslint-disable-next-line react/no-array-index-key
|
// eslint-disable-next-line react/no-array-index-key
|
||||||
<td key={index}>
|
<td key={index}>
|
||||||
<div />
|
<div className={styles.rect} />
|
||||||
</td>
|
</td>
|
||||||
))}
|
))}
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue