fix app container overflow

This commit is contained in:
2025-03-20 18:26:01 +02:00
committed by Nicola Benaglia
parent da95b3435f
commit d9c49fc264
3 changed files with 5 additions and 4 deletions

View File

@@ -35,8 +35,8 @@ const AppViewerContainer = React.forwardRef(({ app, isSelected, hide, isDevMode,
</>
}
style={{
position: (!isSelected || hide) && 'absolute',
left: (!isSelected || hide) && '10000000px',
position: (!isSelected || hide) && 'fixed',
left: (!isSelected || hide) && '-200vw',
height: customHeight ? customHeight : !isMobile ? '100vh' : `calc(${rootHeight} - 60px - 45px)`,
border: 'none',
width: '100%',

View File

@@ -217,8 +217,8 @@ export const AppsDevMode = ({ mode, setMode, show , myName, goToHome, setDesktop
<AppsParent
sx={{
flexDirection: 'row' ,
position: !show && 'absolute',
left: !show && '10000000px',
position: !show && 'fixed',
left: !show && '-200vw',
}}
>