mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-10 02:16:57 +00:00
fix app container overflow
This commit is contained in:
parent
da95b3435f
commit
d9c49fc264
@ -11,6 +11,7 @@ export const AppContainer = styled(Box)(({ theme }) => ({
|
|||||||
radius: "15px",
|
radius: "15px",
|
||||||
backgroundColor: theme.palette.background.default,
|
backgroundColor: theme.palette.background.default,
|
||||||
color: theme.palette.text.primary,
|
color: theme.palette.text.primary,
|
||||||
|
overflow: 'hidden'
|
||||||
}));
|
}));
|
||||||
|
|
||||||
export const AuthenticatedContainer = styled(Box)(({ theme }) => ({
|
export const AuthenticatedContainer = styled(Box)(({ theme }) => ({
|
||||||
|
@ -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%',
|
||||||
|
@ -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