fix overflow

This commit is contained in:
PhilReact 2025-03-19 19:14:10 +02:00
parent aeea8330e9
commit 6ff19261e0
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -292,8 +292,8 @@ export const Apps = ({ mode, setMode, show , myName}) => {
return ( return (
<AppsParent <AppsParent
sx={{ sx={{
position: !show && 'absolute', position: !show && 'fixed',
left: !show && '10000000px', left: !show && '-10000000px',
}} }}
> >
{mode !== "viewer" && !selectedTab && <Spacer height="30px" />} {mode !== "viewer" && !selectedTab && <Spacer height="30px" />}