fix: controls container now scrolls

This commit is contained in:
Mark Mankarious
2023-08-21 13:56:40 +01:00
parent 9fb1cbf237
commit f20580a6f1
2 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,11 @@ export const ItemControlsManager = () => {
<Card
sx={{
position: 'absolute',
width: '325px',
overflowY: 'scroll',
'&::-webkit-scrollbar': {
display: 'none'
},
width: '345px',
maxHeight: `calc(100% - ${theme.customVars.appPadding.y * 2}px)`,
left: theme.customVars.appPadding.x,
top: theme.customVars.appPadding.y,

View File

@@ -24,11 +24,7 @@ export const ControlsContainer = ({ header, children }: Props) => {
<Box
sx={{
width: '100%',
overflowY: 'scroll',
flexGrow: 1,
'&::-webkit-scrollbar': {
display: 'none'
}
flexGrow: 1
}}
>
<Box sx={{ width: '100%' }}>{children}</Box>