fix app container overflow

This commit is contained in:
PhilReact 2025-03-20 18:26:19 +02:00
parent 2b4b426c54
commit 481542baf6
3 changed files with 5 additions and 4 deletions

View File

@ -1828,6 +1828,7 @@ function App() {
backgroundSize: desktopViewMode === "apps" && "cover",
backgroundPosition: desktopViewMode === "apps" && "center",
backgroundRepeat: desktopViewMode === "apps" && "no-repeat",
overflow: "hidden"
}}
>

View File

@ -35,8 +35,8 @@ const AppViewerContainer = React.forwardRef(({ app, isSelected, hide, customHeig
</>
}
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

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