Skip to content

Commit

Permalink
Add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
apedroferreira committed Aug 9, 2024
1 parent b682fb5 commit 5658dc0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const AppBar = styled(MuiAppBar)(({ theme }) => ({
borderStyle: 'solid',
borderColor: (theme.vars ?? theme).palette.divider,
boxShadow: 'none',
// TODO: Temporary fix to issue reported in https://github.com/mui/material-ui/issues/43244
left: 0,
zIndex: theme.zIndex.drawer + 1,
}));
Expand Down Expand Up @@ -382,7 +383,10 @@ function DashboardLayout(props: DashboardLayoutProps) {
return (
<Box sx={{ display: 'flex' }}>
<AppBar color="inherit" position="fixed">
<Toolbar sx={{ backgroundColor: 'inherit', width: '100vw' }}>
{
// TODO: Temporary fix to issue reported in https://github.com/mui/material-ui/issues/43244
}
<Toolbar sx={{ backgroundColor: 'inherit', minWidth: '100vw' }}>
<Box sx={{ display: { xs: 'block', md: 'none' } }}>
<Tooltip
title={`${isMobileNavigationOpen ? 'Close' : 'Open'} menu`}
Expand Down Expand Up @@ -470,6 +474,7 @@ function DashboardLayout(props: DashboardLayoutProps) {
component="main"
sx={{
flexGrow: 1,
// TODO: Temporary fix to issue reported in https://github.com/mui/material-ui/issues/43244
minWidth: { xs: isMobileNavigationOpen ? '100vw' : 'auto', md: 'auto' },
}}
>
Expand Down

0 comments on commit 5658dc0

Please sign in to comment.