Skip to content

Commit

Permalink
Updated margin and font styles for formatted and plain logs
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalmishraa committed Oct 18, 2024
1 parent b26aa4e commit 9ec9da3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const FormattedLog = ({ log }: { log: ParsedLog; index: number }) => {

const { timestamp, ip, logLevel, message } = log;
return (
<Line medium marginBottom={'8px'} fontFamily={'monospace'}>
<Line mono marginBottom={1}>
<Line component="span" color="info">
{timestamp}
</Line>{' '}
Expand Down
2 changes: 1 addition & 1 deletion web-server/src/components/Service/SystemLog/PlainLog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Line } from '@/components/Text';

export const PlainLog = ({ log }: { log: string; index: number }) => {
return (
<Line medium marginBottom={'8px'} fontFamily={'monospace'}>
<Line mono marginBottom={1}>
{log}
</Line>
);
Expand Down

0 comments on commit 9ec9da3

Please sign in to comment.