fix logbox newlines and corp researching multiple times

This commit is contained in:
Olivier Gagnon
2021-10-04 12:37:19 -04:00
parent d21382e96e
commit c989e6713f
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ function LogWindow(props: IProps): React.ReactElement {
</Box>
</Paper>
<Paper>
<Box maxHeight="25vh" overflow="scroll" sx={{ overflowWrap: "break-word" }}>
<Box maxHeight="25vh" overflow="scroll" sx={{ overflowWrap: "break-word", whiteSpace: "pre-line" }}>
{props.script.logs.map(
(line: string, i: number): JSX.Element => (
<Typography key={i}>