fix: row value overflow in history table for task run rows (#1764)

This commit is contained in:
Shuchang Zheng
2025-02-13 00:14:07 +08:00
committed by GitHub
parent 866a16ec99
commit 88ce5fc1bb

View File

@@ -95,12 +95,19 @@ function RunHistory() {
handleNavigate(event, `/tasks/${run.task_id}/actions`); handleNavigate(event, `/tasks/${run.task_id}/actions`);
}} }}
> >
<TableCell>{run.task_id}</TableCell> <TableCell className="max-w-0 truncate">
<TableCell>{run.url}</TableCell> {run.task_id}
</TableCell>
<TableCell className="max-w-0 truncate">
{run.url}
</TableCell>
<TableCell> <TableCell>
<StatusBadge status={run.status} /> <StatusBadge status={run.status} />
</TableCell> </TableCell>
<TableCell title={basicTimeFormat(run.created_at)}> <TableCell
title={basicTimeFormat(run.created_at)}
className="max-w-0 truncate"
>
{basicLocalTimeFormat(run.created_at)} {basicLocalTimeFormat(run.created_at)}
</TableCell> </TableCell>
</TableRow> </TableRow>