From cec447cf7a38227f1143d76feeef54602a098410 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Thu, 29 Aug 2024 09:56:26 +0100 Subject: [PATCH] Drawer: Fix drawer mask positioning (#92318) fix drawer mask positioning --- packages/grafana-ui/src/components/Drawer/Drawer.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Drawer/Drawer.tsx b/packages/grafana-ui/src/components/Drawer/Drawer.tsx index ce9a075fdd9..a929cb59c22 100644 --- a/packages/grafana-ui/src/components/Drawer/Drawer.tsx +++ b/packages/grafana-ui/src/components/Drawer/Drawer.tsx @@ -296,7 +296,8 @@ const getStyles = (theme: GrafanaTheme2) => { mask: css({ // The !important here is to override the default .rc-drawer-mask styles backgroundColor: 'transparent !important', - position: 'fixed', + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions + position: 'fixed !important' as 'fixed', '&:before': { backgroundColor: `${theme.components.overlay.background} !important`,