From 9e0cb259eea5c761152e00710a30ed96c7a5ef02 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Tue, 7 Mar 2023 13:34:38 +0200 Subject: [PATCH] [v9.4.x] Logs sample: Fix scrolling for unwrapped log lines (#64291) Logs sample: Fix scrolling for unwrapped log lines (#64163) Fix scrolling for logs sample (cherry picked from commit 7b016687292b33ea6f9ce5ec29d134760e270b75) Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> --- .../app/features/explore/LogsSamplePanel.tsx | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/public/app/features/explore/LogsSamplePanel.tsx b/public/app/features/explore/LogsSamplePanel.tsx index 0e14e0cfd82..36aa8dc17a8 100644 --- a/public/app/features/explore/LogsSamplePanel.tsx +++ b/public/app/features/explore/LogsSamplePanel.tsx @@ -95,16 +95,18 @@ export function LogsSamplePanel(props: Props) { LogsSamplePanelContent = ( <> - +
+ +
); } @@ -122,4 +124,7 @@ const getStyles = (theme: GrafanaTheme2) => ({ top: ${theme.spacing(1)}; right: ${theme.spacing(1)}; ; `, + logContainer: css` + overflow-x: scroll; + `, });