diff --git a/interface/src/app/status/SystemLog.tsx b/interface/src/app/status/SystemLog.tsx index 561a7e342..bf1daebb3 100644 --- a/interface/src/app/status/SystemLog.tsx +++ b/interface/src/app/status/SystemLog.tsx @@ -22,20 +22,18 @@ import type { LogEntry, LogSettings } from 'types'; import { LogLevel } from 'types'; import { updateValueDirty, useRest } from 'utils'; -const ButtonTextColors = { +const TextColors = { [LogLevel.ERROR]: '#ff0000', // red - [LogLevel.WARNING]: '#ffcc00', // yellow + [LogLevel.WARNING]: '#ff0000', // red [LogLevel.NOTICE]: '#ffffff', // white - [LogLevel.INFO]: '#ffffff', // yellow + [LogLevel.INFO]: '#ffcc00', // yellow [LogLevel.DEBUG]: '#00ffff', // cyan [LogLevel.TRACE]: '#00ffff' // cyan }; -const LogEntryLine = styled('div')( +const LogEntryLine = styled('span')( ({ details: { level } }: { details: { level: LogLevel } }) => ({ - color: ButtonTextColors[level], - font: '14px monospace', - whiteSpace: 'nowrap' + color: TextColors[level] }) ); @@ -251,14 +249,17 @@ const SystemLog = () => { }} > {logEntries.map((e) => ( - +
{e.t} {paddedLevelLabel(e.l)}  {paddedIDLabel(e.i)} {paddedNameLabel(e.n)} - {e.m} - + + {e.m} + +
))} +