mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-23 19:37:52 +00:00
fix app container overflow
This commit is contained in:
parent
ae29e362cf
commit
69f33733df
@ -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",
|
||||||
|
@ -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%',
|
||||||
|
@ -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'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
@ -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',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user