mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
Merge pull request #3217 from phyzical/bugfix/dom-nesting-error-with-ul
fix for dom nesting with elements like ul
This commit is contained in:
commit
1c801c5651
@ -66,7 +66,7 @@ export function AlertManager(): React.ReactElement {
|
|||||||
{alerts.length > 0 && (
|
{alerts.length > 0 && (
|
||||||
<Modal open={true} onClose={close}>
|
<Modal open={true} onClose={close}>
|
||||||
<Box overflow="scroll" sx={{ overflowWrap: "break-word", whiteSpace: "pre-line" }}>
|
<Box overflow="scroll" sx={{ overflowWrap: "break-word", whiteSpace: "pre-line" }}>
|
||||||
<Typography>{alerts[0].text}</Typography>
|
<Typography component={'span'}>{alerts[0].text}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Modal>
|
</Modal>
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user