From 0c1e4979af7381b2a016f58d1c3d32aed74c96f7 Mon Sep 17 00:00:00 2001 From: Sven Grossmann Date: Fri, 30 Sep 2022 11:25:51 +0200 Subject: [PATCH] add correct overscroll-behavior to context modals (#56070) --- 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 f98fae12a01..d5d18eb1c8a 100644 --- a/public/app/features/logs/components/LogRowContext.tsx +++ b/public/app/features/logs/components/LogRowContext.tsx @@ -76,6 +76,10 @@ const getLogRowContextStyles = (theme: GrafanaTheme2, wrapLogMessage?: boolean) logs: css` height: ${logsHeight}px; padding: 10px; + + .scrollbar-view { + overscroll-behavior: contain; + } `, afterContext, beforeContext,