Fixed bug with limited height of terminal screen

Needs testing.
This commit is contained in:
Kejikus 2021-12-20 00:03:13 +03:00 committed by GitHub
parent 890b1df593
commit fcbf8a3824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -319,7 +319,7 @@ export function GameRoot({ player, engine, terminal }: IProps): React.ReactEleme
) : ( ) : (
<Box display="flex" flexDirection="row" width="100%"> <Box display="flex" flexDirection="row" width="100%">
<SidebarRoot player={player} router={Router} page={page} /> <SidebarRoot player={player} router={Router} page={page} />
<Box className={classes.root} flexGrow={1} display="block" px={1} height="100vh"> <Box className={classes.root} flexGrow={1} display="block" px={1} min-height="100vh">
{page === Page.Terminal ? ( {page === Page.Terminal ? (
<TerminalRoot terminal={terminal} router={Router} player={player} /> <TerminalRoot terminal={terminal} router={Router} player={player} />
) : page === Page.Sleeves ? ( ) : page === Page.Sleeves ? (