made log box resize a tad better

This commit is contained in:
Olivier Gagnon 2021-10-05 01:44:46 -04:00
parent 4901c84d34
commit f579ee398b
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -120,11 +120,11 @@ function LogWindow(props: IProps): React.ReactElement {
}} }}
> >
<Box id="drag" display="flex" alignItems="center"> <Box id="drag" display="flex" alignItems="center">
<Typography color="primary" variant="h6" noWrap component="div"> <Typography color="primary" variant="h6">
{props.script.filename} {props.script.args.map((x: any): string => `${x}`).join(" ")} {props.script.filename} {props.script.args.map((x: any): string => `${x}`).join(" ")}
</Typography> </Typography>
<Box display="flex" marginLeft="auto"> <Box position="absolute" right={0}>
<Button onClick={kill}>Kill Script</Button> <Button onClick={kill}>Kill Script</Button>
<Button onClick={props.onClose}>Close</Button> <Button onClick={props.onClose}>Close</Button>
</Box> </Box>