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

View File

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