Action bar fixes

This commit is contained in:
Philipp Heckel 2022-02-26 14:36:23 -05:00
parent d705d3c3b1
commit fb90ab480a
2 changed files with 4 additions and 2 deletions

View file

@ -14,7 +14,7 @@ const ActionBar = (props) => {
return ( return (
<AppBar position="fixed" sx={{ <AppBar position="fixed" sx={{
width: '100%', width: '100%',
zIndex: { sm: 2000 }, // > Navigation zIndex: { sm: 1250 }, // > Navigation (1200), but < Dialog (1300)
ml: { sm: `${Navigation.width}px` } ml: { sm: `${Navigation.width}px` }
}}> }}>
<Toolbar sx={{pr: '24px'}}> <Toolbar sx={{pr: '24px'}}>

View file

@ -65,7 +65,9 @@ const NavList = (props) => {
const showGrantPermissionsBox = props.subscriptions.size() > 0 && !props.notificationsGranted; const showGrantPermissionsBox = props.subscriptions.size() > 0 && !props.notificationsGranted;
return ( return (
<> <>
<Toolbar/> <Toolbar sx={{
display: { xs: 'none', sm: 'block' }
}}/>
<List component="nav" sx={{ <List component="nav" sx={{
paddingTop: (showGrantPermissionsBox) ? '0' : '' paddingTop: (showGrantPermissionsBox) ? '0' : ''
}}> }}>