Skip to content
Snippets Groups Projects
Commit b481ead9 authored by Chris Beer's avatar Chris Beer
Browse files

Clean up WindowSideBar styling

parent ec6b7641
No related branches found
No related tags found
1 merge request!19Draft: Merge video support into mui5
......@@ -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 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment