mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-05-06 01:37:52 +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",
|
||||
backgroundColor: theme.palette.background.default,
|
||||
color: theme.palette.text.primary,
|
||||
overflow: 'hidden'
|
||||
}));
|
||||
|
||||
export const AuthenticatedContainer = styled(Box)(({ theme }) => ({
|
||||
|
@ -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%',
|
||||
|
@ -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