mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-01 19:07:36 +01:00
fixed log boxes
This commit is contained in:
parent
447731c5f3
commit
665d25650a
@ -39,11 +39,13 @@
|
||||
<style>
|
||||
body {
|
||||
background-color: black;
|
||||
}
|
||||
* {
|
||||
-ms-overflow-style: none; /* for Internet Explorer, Edge */
|
||||
scrollbar-width: none; /* for Firefox */
|
||||
}
|
||||
|
||||
body::-webkit-scrollbar {
|
||||
*::-webkit-scrollbar {
|
||||
display: none; /* for Chrome, Safari, and Opera */
|
||||
}
|
||||
</style>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -39,11 +39,13 @@
|
||||
<style>
|
||||
body {
|
||||
background-color: black;
|
||||
}
|
||||
* {
|
||||
-ms-overflow-style: none; /* for Internet Explorer, Edge */
|
||||
scrollbar-width: none; /* for Firefox */
|
||||
}
|
||||
|
||||
body::-webkit-scrollbar {
|
||||
*::-webkit-scrollbar {
|
||||
display: none; /* for Chrome, Safari, and Opera */
|
||||
}
|
||||
</style>
|
||||
|
@ -147,14 +147,16 @@ function LogWindow(props: IProps): React.ReactElement {
|
||||
</Box>
|
||||
</Paper>
|
||||
<Paper>
|
||||
{props.script.logs.map(
|
||||
(line: string, i: number): JSX.Element => (
|
||||
<Typography key={i} style={{ whiteSpace: "pre-line" }}>
|
||||
{line}
|
||||
<br />
|
||||
</Typography>
|
||||
),
|
||||
)}
|
||||
<Box maxHeight="25vh" overflow="scroll">
|
||||
{props.script.logs.map(
|
||||
(line: string, i: number): JSX.Element => (
|
||||
<Typography key={i} style={{ whiteSpace: "pre-line" }}>
|
||||
{line}
|
||||
<br />
|
||||
</Typography>
|
||||
),
|
||||
)}
|
||||
</Box>
|
||||
</Paper>
|
||||
</Paper>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user