mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-04-24 11:57:52 +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",
|
backgroundSize: desktopViewMode === "apps" && "cover",
|
||||||
backgroundPosition: desktopViewMode === "apps" && "center",
|
backgroundPosition: desktopViewMode === "apps" && "center",
|
||||||
backgroundRepeat: desktopViewMode === "apps" && "no-repeat",
|
backgroundRepeat: desktopViewMode === "apps" && "no-repeat",
|
||||||
|
overflow: "hidden"
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
||||||
|
@ -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) && '-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%',
|
||||||
|
@ -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 && '-200vw',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{mode !== "viewer" && !selectedTab && <Spacer height="30px" />}
|
{mode !== "viewer" && !selectedTab && <Spacer height="30px" />}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user