1
0
Fork 0

fix(gui): replace divider below tabs, outline restart button

This commit is contained in:
Sean Sube 2023-04-20 22:18:57 -05:00
parent c8d2e33aa5
commit b85a8aa868
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
2 changed files with 22 additions and 19 deletions

View File

@ -52,6 +52,7 @@ export function OnnxWeb() {
}}>
{TAB_LABELS.map((name) => <Tab key={name} label={name} value={name} />)}
</TabList>
</Box>
<TabPanel value='txt2img'>
<Txt2Img />
</TabPanel>
@ -70,7 +71,6 @@ export function OnnxWeb() {
<TabPanel value='settings'>
<Settings />
</TabPanel>
</Box>
</TabContext>
<Divider variant='middle' />
<Box sx={{ mx: 4, my: 4 }}>

View File

@ -163,7 +163,10 @@ export function ModelControl() {
addToken('lora', name);
}}
/>
<Button onClick={() => restart.mutate()}>{t('admin.restart')}</Button>
<Button
variant='outlined'
onClick={() => restart.mutate()}
>{t('admin.restart')}</Button>
</Stack>
</Stack>;
}