feat: update log table style

This commit is contained in:
JustSong
2025-01-31 20:06:43 +08:00
parent bad57d049a
commit 0230d36643
2 changed files with 2 additions and 4 deletions

View File

@@ -497,9 +497,7 @@ const LogsTable = () => {
{isAdminUser && ( {isAdminUser && (
<Table.Cell> <Table.Cell>
{log.username ? ( {log.username ? (
<Label basic size={'tiny'}> <Label basic>{log.username}</Label>
{log.username}
</Label>
) : ( ) : (
'' ''
)} )}

View File

@@ -82,7 +82,7 @@ export function renderColorLabel(text) {
} }
let index = Math.abs(hash % colors.length); let index = Math.abs(hash % colors.length);
return ( return (
<Label basic size={'tiny'} color={colors[index]}> <Label basic color={colors[index]}>
{text} {text}
</Label> </Label>
); );