mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-12 00:07:40 +01:00
got rid of some containers
This commit is contained in:
parent
b682a442fe
commit
07721e1cc5
@ -4,15 +4,10 @@
|
|||||||
/* CSS for different main menu pages, such as character info, script editor, etc (but excluding
|
/* CSS for different main menu pages, such as character info, script editor, etc (but excluding
|
||||||
terminal which has its own page) */
|
terminal which has its own page) */
|
||||||
|
|
||||||
.generic-menupage-container {
|
#generic-react-container {
|
||||||
-ms-overflow-style: none; /* for Internet Explorer, Edge */
|
-ms-overflow-style: none; /* for Internet Explorer, Edge */
|
||||||
scrollbar-width: none; /* for Firefox */
|
scrollbar-width: none; /* for Firefox */
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
height: 100vh;
|
|
||||||
bottom: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#generic-react-container {
|
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
|
@ -43,6 +43,11 @@ const useStyles = makeStyles((theme: Theme) =>
|
|||||||
whiteSpace: "pre-wrap",
|
whiteSpace: "pre-wrap",
|
||||||
margin: 0,
|
margin: 0,
|
||||||
},
|
},
|
||||||
|
list: {
|
||||||
|
padding: 0,
|
||||||
|
height: "100%",
|
||||||
|
overflowY: "scroll",
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -348,7 +353,7 @@ export function TerminalRoot({ terminal, engine, player }: IProps): React.ReactE
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box position="fixed" bottom="0" width="100%" px={1}>
|
<Box position="fixed" bottom="0" width="100%" px={1}>
|
||||||
<List classes={{ root: classes.nopadding }}>
|
<List classes={{ root: classes.list }}>
|
||||||
{terminal.outputHistory.map((item, i) => {
|
{terminal.outputHistory.map((item, i) => {
|
||||||
if (item instanceof Output)
|
if (item instanceof Output)
|
||||||
return (
|
return (
|
||||||
|
@ -42,10 +42,8 @@
|
|||||||
<div id="mainmenu-container" style="display: flex; flex-direction: row">
|
<div id="mainmenu-container" style="display: flex; flex-direction: row">
|
||||||
<!-- Main menu -->
|
<!-- Main menu -->
|
||||||
<div id="sidebar" style=""></div>
|
<div id="sidebar" style=""></div>
|
||||||
<div class="generic-menupage-container">
|
|
||||||
<div id="generic-react-container"></div>
|
<div id="generic-react-container"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="infiltration-container" class="generic-fullscreen-container"></div>
|
<div id="infiltration-container" class="generic-fullscreen-container"></div>
|
||||||
<div id="mission-container" class="generic-fullscreen-container"></div>
|
<div id="mission-container" class="generic-fullscreen-container"></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user