diff --git a/src/components/WindowSideBar.js b/src/components/WindowSideBar.js index c036a8faa4bcf92630c0acc1714d230e922bb65e..7750eeb294d9e3e9e42651fbd7870da8a999e37b 100644 --- a/src/components/WindowSideBar.js +++ b/src/components/WindowSideBar.js @@ -6,11 +6,15 @@ import WindowSideBarButtons from '../containers/WindowSideBarButtons'; const Root = styled(Drawer, { name: 'WindowSideBar', slot: 'root' })(({ theme }) => ({ flexShrink: 0, - height: '100%', order: -1000, zIndex: theme.zIndex.appBar - 1, })); +const Nav = styled('nav', { name: 'WindowSideBar', slot: 'nav' })({ + position: 'relative !important', + width: 48, +}); + /** * WindowSideBar */ @@ -31,15 +35,7 @@ export class WindowSideBar extends Component { anchor={direction === 'rtl' ? 'right' : 'left'} PaperProps={{ 'aria-label': t('sidebarPanelsNavigation'), - component: 'nav', - sx: { - borderBlock: 0, - borderInlineStart: 0, - height: '100%', - overflowX: 'hidden', - position: 'relative', - width: 48, - }, + component: Nav, variant: 'outlined', }} SlideProps={{ direction: direction === 'rtl' ? 'left' : 'right', mountOnEnter: true, unmountOnExit: true }}