This commit is contained in:
Olivier Gagnon 2021-09-02 16:42:24 -04:00
commit eb01051ad6
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

@ -101,7 +101,7 @@ function ScriptLogPopup(props: IProps): React.ReactElement {
</div> </div>
</div> </div>
<div className="log-box-log-container"> <div className="log-box-log-container">
<p>{props.script.logs.map((line: string, i: number): JSX.Element => <span key={i}>{line}<br /></span>)}</p> <p>{props.script.logs.map((line: string, i: number): JSX.Element => <span key={i} style={{whiteSpace: "pre-line"}}>{line}<br /></span>)}</p>
</div> </div>
</>); </>);
} }