got rid of some containers

This commit is contained in:
Olivier Gagnon
2021-09-16 15:04:20 -04:00
parent b682a442fe
commit 07721e1cc5
3 changed files with 8 additions and 10 deletions
+6 -1
View File
@@ -43,6 +43,11 @@ const useStyles = makeStyles((theme: Theme) =>
whiteSpace: "pre-wrap",
margin: 0,
},
list: {
padding: 0,
height: "100%",
overflowY: "scroll",
},
}),
);
@@ -348,7 +353,7 @@ export function TerminalRoot({ terminal, engine, player }: IProps): React.ReactE
return (
<Box position="fixed" bottom="0" width="100%" px={1}>
<List classes={{ root: classes.nopadding }}>
<List classes={{ root: classes.list }}>
{terminal.outputHistory.map((item, i) => {
if (item instanceof Output)
return (