diff --git a/public/app/features/logs/components/LogRow.tsx b/public/app/features/logs/components/LogRow.tsx index ecc44185d2f..91ec154e005 100644 --- a/public/app/features/logs/components/LogRow.tsx +++ b/public/app/features/logs/components/LogRow.tsx @@ -253,18 +253,23 @@ class UnThemedLogRow extends PureComponent { {processedRow.duplicates && processedRow.duplicates > 0 ? `${processedRow.duplicates + 1}x` : null} )} - + {hasError && ( )} - {enableLogDetails && ( - + + {enableLogDetails && ( - - )} + )} + {showTime && {this.renderTimeStamp(row.timeEpochMs)}} {showLabels && processedRow.uniqueLabels && ( diff --git a/public/app/features/logs/components/getLogRowStyles.ts b/public/app/features/logs/components/getLogRowStyles.ts index 447c9b98b37..e2142cdf592 100644 --- a/public/app/features/logs/components/getLogRowStyles.ts +++ b/public/app/features/logs/components/getLogRowStyles.ts @@ -58,6 +58,10 @@ export const getLogRowStyles = memoizeOne((theme: GrafanaTheme2) => { left: ${theme.spacing(0.5)}; } `, + // Compared to logsRowLevel we need to make error logs wider to accommodate the icon + logsRowWithError: css({ + maxWidth: `${theme.spacing(1.5)}`, + }), logsRowMatchHighLight: css` label: logs-row__match-highlight; background: inherit;