fix app container overflow

This commit is contained in:
PhilReact 2025-03-20 18:26:01 +02:00
parent ae29e362cf
commit 69f33733df
4 changed files with 8 additions and 7 deletions

View File

@ -16,7 +16,8 @@ export const AppContainer = styled(Box)(({ theme }) => ({
width: "100vw", width: "100vw",
background: "rgba(39, 40, 44, 1)", background: "rgba(39, 40, 44, 1)",
height: "100vh", height: "100vh",
radius: "15px" radius: "15px",
overflow: 'hidden'
})); }));
export const AuthenticatedContainer = styled(Box)(({ theme }) => ({ export const AuthenticatedContainer = styled(Box)(({ theme }) => ({
display: "flex", display: "flex",

View File

@ -35,8 +35,8 @@ const AppViewerContainer = React.forwardRef(({ app, isSelected, hide, isDevMode,
</> </>
} }
style={{ style={{
position: (!isSelected || hide) && 'absolute', position: (!isSelected || hide) && 'fixed',
left: (!isSelected || hide) && '10000000px', left: (!isSelected || hide) && '-200vw',
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

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

View File

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