mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-04-25 04:17:53 +00:00
fix app container overflow
This commit is contained in:
parent
2b4b426c54
commit
481542baf6
@ -1828,6 +1828,7 @@ function App() {
|
||||
backgroundSize: desktopViewMode === "apps" && "cover",
|
||||
backgroundPosition: desktopViewMode === "apps" && "center",
|
||||
backgroundRepeat: desktopViewMode === "apps" && "no-repeat",
|
||||
overflow: "hidden"
|
||||
}}
|
||||
>
|
||||
|
||||
|
@ -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%',
|
||||
|
@ -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" />}
|
||||
|
Loading…
x
Reference in New Issue
Block a user