BUGFIX: make hacknet node a bit bigger and change unit to em (#1094)

PR #1070 caused some overflow when having hacknet servers.
This commit is contained in:
Shy 2024-02-16 01:33:08 +01:00 committed by GitHub
parent c894aba8f5
commit ef334cb851
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -117,7 +117,7 @@ export function HacknetRoot(): React.ReactElement {
{hasHacknetServers() && <Button onClick={() => setOpen(true)}>Spend Hashes on Upgrades</Button>}
<Box sx={{ display: "grid", width: "100%", gridTemplateColumns: "repeat(auto-fit, 380px)" }}>{nodes}</Box>
<Box sx={{ display: "grid", width: "100%", gridTemplateColumns: "repeat(auto-fit, 30em)" }}>{nodes}</Box>
<HashUpgradeModal open={open} onClose={() => setOpen(false)} />
</>
);