fix overflow

This commit is contained in:
PhilReact 2025-03-19 19:13:55 +02:00 committed by Nicola Benaglia
parent 7446ca9677
commit 11abb116ec
2 changed files with 4 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) && '-10000000px',
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 && '-10000000px',
}}
>