Action bar fixes

pull/149/head
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 (
<AppBar position="fixed" sx={{
width: '100%',
zIndex: { sm: 2000 }, // > Navigation
zIndex: { sm: 1250 }, // > Navigation (1200), but < Dialog (1300)
ml: { sm: `${Navigation.width}px` }
}}>
<Toolbar sx={{pr: '24px'}}>

View File

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