Merge pull request #2710 from nickofolas/improvement/tabs

Update `<Tabs>` sizing and style
This commit is contained in:
hydroflame
2022-03-07 17:22:06 -05:00
committed by GitHub
5 changed files with 23 additions and 5 deletions
+2 -2
View File
@@ -31,9 +31,9 @@ export function ActiveScriptsRoot(props: IProps): React.ReactElement {
}
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={"Recent"} value={"recent"} />
<Tab label={"Recently Killed"} value={"recent"} />
</Tabs>
{tab === "active" && <ActiveScriptsPage workerScripts={props.workerScripts} />}