From 8b82a8aa812a2f2c532a777eeb0798bf768aafb6 Mon Sep 17 00:00:00 2001 From: Matias Chomicki Date: Mon, 30 Jun 2025 14:04:19 +0100 Subject: [PATCH] LogLine: prevent overflows from extremely long lines with incorrect width measurement --- public/app/features/logs/components/panel/LogLine.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/app/features/logs/components/panel/LogLine.tsx b/public/app/features/logs/components/panel/LogLine.tsx index a8d87abc92f..c6e1d4c2314 100644 --- a/public/app/features/logs/components/panel/LogLine.tsx +++ b/public/app/features/logs/components/panel/LogLine.tsx @@ -525,6 +525,10 @@ export const getStyles = (theme: GrafanaTheme2, virtualization?: LogLineVirtuali gridColumnGap: theme.spacing(FIELD_GAP_MULTIPLIER), whiteSpace: 'pre', paddingBottom: theme.spacing(0.75), + '& .field': { + overflow: 'hidden', + whiteSpace: 'nowrap', + }, }), wrappedLogLine: css({ alignSelf: 'flex-start',