mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-24 03:47:53 +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",
|
||||
background: "rgba(39, 40, 44, 1)",
|
||||
height: "100vh",
|
||||
radius: "15px"
|
||||
radius: "15px",
|
||||
overflow: 'hidden'
|
||||
}));
|
||||
export const AuthenticatedContainer = styled(Box)(({ theme }) => ({
|
||||
display: "flex",
|
||||
|
@ -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%',
|
||||
|
@ -313,8 +313,8 @@ export const AppsDesktop = ({ mode, setMode, show , myName, goToHome, setDesktop
|
||||
return (
|
||||
<AppsParent
|
||||
sx={{
|
||||
position: !show && 'absolute',
|
||||
left: !show && '10000000px',
|
||||
position: !show && 'fixed',
|
||||
left: !show && '-200vw',
|
||||
flexDirection: 'row'
|
||||
}}
|
||||
>
|
||||
|
@ -217,8 +217,8 @@ export const AppsDevMode = ({ mode, setMode, show , myName, goToHome, setDesktop
|
||||
<AppsParent
|
||||
sx={{
|
||||
flexDirection: 'row' ,
|
||||
position: !show && 'absolute',
|
||||
left: !show && '10000000px',
|
||||
position: !show && 'fixed',
|
||||
left: !show && '-200vw',
|
||||
}}
|
||||
>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user