mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-27 00:17:32 +01:00
Merge pull request #1124 from TomCassWindred/WrapOnLineBreak
Set log messages to wrap on line breaks
This commit is contained in:
commit
a652140224
@ -101,7 +101,7 @@ function ScriptLogPopup(props: IProps): React.ReactElement {
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
</>);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user