Drawer: Fix drawer mask positioning (#92318)

fix drawer mask positioning
This commit is contained in:
Ashley Harrison
2024-08-29 09:56:26 +01:00
committed by GitHub
parent 90319c9482
commit cec447cf7a
@@ -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`,