mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 03:33:52 +01:00
added pre tags to support \n
This commit is contained in:
parent
9294ff3e9e
commit
1931734694
@ -42,7 +42,9 @@ export function PromptManager(): React.ReactElement {
|
|||||||
<>
|
<>
|
||||||
{prompt != null && (
|
{prompt != null && (
|
||||||
<Modal open={true} onClose={close}>
|
<Modal open={true} onClose={close}>
|
||||||
|
<pre>
|
||||||
<Typography>{prompt.txt}</Typography>
|
<Typography>{prompt.txt}</Typography>
|
||||||
|
</pre>
|
||||||
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', paddingTop: '10px' }}>
|
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', paddingTop: '10px' }}>
|
||||||
<Button style={{ marginRight: 'auto' }} onClick={yes}>Yes</Button>
|
<Button style={{ marginRight: 'auto' }} onClick={yes}>Yes</Button>
|
||||||
<Button onClick={no}>No</Button>
|
<Button onClick={no}>No</Button>
|
||||||
|
Loading…
Reference in New Issue
Block a user