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 && (
<Table.Cell>
{log.username ? (
<Label basic size={'tiny'}>
{log.username}
</Label>
<Label basic>{log.username}</Label>
) : (
''
)}

View File

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