Fix url overflow in task history (#397)

This commit is contained in:
Salih Altun
2024-05-30 22:35:36 +03:00
committed by GitHub
parent af214b8dab
commit 418473d72c
2 changed files with 4 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ function TaskHistory() {
return (
<TableRow key={task.task_id} className="w-4">
<TableCell
className="w-1/3 cursor-pointer"
className="w-1/3 cursor-pointer max-w-64 overflow-hidden whitespace-nowrap overflow-ellipsis"
onClick={() => {
navigate(task.task_id);
}}

View File

@@ -57,7 +57,9 @@ function QueuedTasks() {
navigate(task.task_id);
}}
>
<TableCell className="w-1/3">{task.request.url}</TableCell>
<TableCell className="w-1/3 max-w-64 overflow-hidden whitespace-nowrap overflow-ellipsis">
{task.request.url}
</TableCell>
<TableCell className="w-1/3">
<StatusBadge status={task.status} />
</TableCell>