mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-18 10:53:43 +01:00
fix for dom nesting with elements like ul
This commit is contained in:
@ -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>
|
||||||
)}
|
)}
|
||||||
|
Reference in New Issue
Block a user