UI: Wrap long text in Active Scripts UI (#1247)

This commit is contained in:
catloversg 2024-05-10 07:07:41 +07:00 committed by GitHub
parent aef362204d
commit 8289b23cff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -68,7 +68,7 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement {
<ListItemButton onClick={() => setOpen((old) => !old)} component={Paper}> <ListItemButton onClick={() => setOpen((old) => !old)} component={Paper}>
<ListItemText <ListItemText
primary={ primary={
<Typography> <Typography style={{ wordWrap: "break-word" }}>
{props.workerScript.name} {JSON.stringify(props.workerScript.args)} {props.workerScript.name} {JSON.stringify(props.workerScript.args)}
</Typography> </Typography>
} }