From 0d93b268f21e3d538a66f5c57f74e96726d527c5 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Thu, 20 Oct 2022 07:41:41 +0200 Subject: [PATCH] add correct overscroll-behavior to context modals (#56070) (#57322) (cherry picked from commit 0c1e4979af7381b2a016f58d1c3d32aed74c96f7) Co-authored-by: Sven Grossmann --- public/app/features/logs/components/LogRowContext.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/app/features/logs/components/LogRowContext.tsx b/public/app/features/logs/components/LogRowContext.tsx index ae8034e9274..e98107c9eba 100644 --- a/public/app/features/logs/components/LogRowContext.tsx +++ b/public/app/features/logs/components/LogRowContext.tsx @@ -65,6 +65,10 @@ const getLogRowContextStyles = (theme: GrafanaTheme2, wrapLogMessage?: boolean) logs: css` height: 220px; padding: 10px; + + .scrollbar-view { + overscroll-behavior: contain; + } `, afterContext, beforeContext,