make things scrollable.

This commit is contained in:
Olivier Gagnon
2021-09-11 12:24:09 -04:00
parent 1edcbe88ee
commit dd27158cf0
19 changed files with 35 additions and 36 deletions

View File

@@ -121,7 +121,7 @@ export function HacknetRoot(props: IProps): React.ReactElement {
});
return (
<div id="hacknet-nodes-container">
<>
<h1>Hacknet {hasHacknetServers(props.player) ? "Servers" : "Nodes"}</h1>
<GeneralInfo hasHacknetServers={hasHacknetServers(props.player)} />
@@ -140,6 +140,6 @@ export function HacknetRoot(props: IProps): React.ReactElement {
)}
<ul id={"hacknet-nodes-list"}>{nodes}</ul>
</div>
</>
);
}