Drawer: Fixes incorrect mask background and flickering (#91890)

This commit is contained in:
Torkel Ödegaard 2024-08-14 16:04:35 +02:00 committed by GitHub
parent b569c1610f
commit db5d8f03b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -294,7 +294,8 @@ const getStyles = (theme: GrafanaTheme2) => {
// but we don't want the backdrop styling to apply over the top bar as it looks weird
// instead have a child pseudo element to apply the backdrop styling below the top bar
mask: css({
backgroundColor: 'transparent',
// The !important here is to override the default .rc-drawer-mask styles
backgroundColor: 'transparent !important',
position: 'fixed',
'&:before': {