Skip to content

Commit

Permalink
Fix url overflow in task history (Skyvern-AI#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
msalihaltun committed May 30, 2024
1 parent f091763 commit 2c434aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skyvern-frontend/src/routes/tasks/list/TaskHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}}
Expand Down
4 changes: 3 additions & 1 deletion skyvern-frontend/src/routes/tasks/running/QueuedTasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2c434aa

Please sign in to comment.