diff --git a/src/App-styles.ts b/src/App-styles.ts index 21b911d..6100951 100644 --- a/src/App-styles.ts +++ b/src/App-styles.ts @@ -11,6 +11,7 @@ export const AppContainer = styled(Box)(({ theme }) => ({ radius: "15px", backgroundColor: theme.palette.background.default, color: theme.palette.text.primary, + overflow: 'hidden' })); export const AuthenticatedContainer = styled(Box)(({ theme }) => ({ diff --git a/src/components/Apps/AppViewerContainer.tsx b/src/components/Apps/AppViewerContainer.tsx index 2029b0b..194ae68 100644 --- a/src/components/Apps/AppViewerContainer.tsx +++ b/src/components/Apps/AppViewerContainer.tsx @@ -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%', diff --git a/src/components/Apps/AppsDevMode.tsx b/src/components/Apps/AppsDevMode.tsx index d569741..d4edc0c 100644 --- a/src/components/Apps/AppsDevMode.tsx +++ b/src/components/Apps/AppsDevMode.tsx @@ -217,8 +217,8 @@ export const AppsDevMode = ({ mode, setMode, show , myName, goToHome, setDesktop