From 4bc64dd74798f9d8bd1c2e9c163c74301e8f8bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 21 Aug 2024 14:44:12 +0200 Subject: [PATCH] Page/Body: Only show scrollbar lane gutter when needed (#92186) * Page/Body: Only show scrollbar lane gutter when needed * Update packages/grafana-ui/src/themes/GlobalStyles/elements.ts Co-authored-by: Ashley Harrison --------- Co-authored-by: Ashley Harrison --- packages/grafana-ui/src/themes/GlobalStyles/elements.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/themes/GlobalStyles/elements.ts b/packages/grafana-ui/src/themes/GlobalStyles/elements.ts index 6586dbb6e0d..58b63a8e1c1 100644 --- a/packages/grafana-ui/src/themes/GlobalStyles/elements.ts +++ b/packages/grafana-ui/src/themes/GlobalStyles/elements.ts @@ -35,7 +35,7 @@ export function getElementStyles(theme: GrafanaTheme2) { // Need type assertion here due to the use of !important // see https://github.com/frenic/csstype/issues/114#issuecomment-697201978 // eslint-disable-next-line @typescript-eslint/consistent-type-assertions - overflowY: 'scroll !important' as 'scroll', + overflowY: 'auto !important' as 'auto', paddingRight: '0 !important', '@media print': { overflow: 'visible',