mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-13 03:03:54 +01:00
Active scripts tab sizing
This commit is contained in:
parent
e81bd48ca6
commit
c0a27e7d66
@ -31,9 +31,9 @@ export function ActiveScriptsRoot(props: IProps): React.ReactElement {
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Tabs variant="fullWidth" value={tab} onChange={handleChange}>
|
<Tabs variant="fullWidth" value={tab} onChange={handleChange} sx={{ minWidth: 'fit-content', maxWidth: '25%' }}>
|
||||||
<Tab label={"Active"} value={"active"} />
|
<Tab label={"Active"} value={"active"} />
|
||||||
<Tab label={"Recent"} value={"recent"} />
|
<Tab label={"Recently Killed"} value={"recent"} />
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
{tab === "active" && <ActiveScriptsPage workerScripts={props.workerScripts} />}
|
{tab === "active" && <ActiveScriptsPage workerScripts={props.workerScripts} />}
|
||||||
|
Loading…
Reference in New Issue
Block a user