Navigation: lower expandable navbar z-index (#47125)

This commit is contained in:
Ashley Harrison 2022-03-31 13:03:23 +01:00 committed by GitHub
parent 0cde5908ca
commit 6b2e1c6187
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ const getStyles = (theme: GrafanaTheme2) => {
paddingTop: theme.spacing(1),
marginRight: theme.spacing(1.5),
right: 0,
zIndex: 9999,
zIndex: theme.zIndex.sidemenu,
top: 0,
[theme.breakpoints.up('md')]: {
borderRight: `1px solid ${theme.colors.border.weak}`,

View File

@ -217,14 +217,14 @@ const getStyles = (theme: GrafanaTheme2) => ({
display: 'grid',
gridAutoFlow: 'column',
height: '100%',
zIndex: 9999,
zIndex: theme.zIndex.sidemenu,
}),
menuToggle: css({
position: 'absolute',
marginRight: 0,
top: '43px',
right: '0px',
zIndex: 9999,
zIndex: theme.zIndex.sidemenu,
transform: `translateX(calc(${theme.spacing(7)} + 50%))`,
background: 'gray',
borderRadius: '50%',