Skip to content

Automate browser based workflows with AI

fix: increase active ring opacity on timeline items for visible focus border (SKY-8457) (#5204)

Celal Zamanoğluc537bae35b59
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/RunCard.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/RunCard.tsx
index 68151dfbe..7a42b48cf 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/RunCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/RunCard.tsx
@@ -36,10 +36,10 @@ function RunCard({
"rounded-lg bg-slate-elevation4 ring-1 ring-transparent transition-all duration-200",
status != null && "border-l-2 border-l-transparent",
{
- "cursor-pointer hover:ring-white/20": !!onClick,
+ "cursor-pointer hover:ring-white/25": !!onClick,
"border-l-destructive": status === "failure",
"border-l-success": status === "success",
- "ring-white/20": active,
+ "ring-white/25": active,
},
className,
)}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx
index 795f71cee..9afdd0b46 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx
@@ -420,10 +420,10 @@ function WorkflowRunTimelineBlockItem({
<div
data-slot="block-item"
className={cn(
- "cursor-pointer rounded-lg ring-1 ring-transparent transition-all duration-200 [&:hover:not(:has([data-slot=runcard]:hover,[data-slot=block-item]:hover))]:ring-white/20",
+ "cursor-pointer rounded-lg ring-1 ring-transparent transition-all duration-200 [&:hover:not(:has([data-slot=runcard]:hover,[data-slot=block-item]:hover))]:ring-white/30",
getBlockElevation(depth),
{
- "ring-white/20":
+ "ring-white/30":
isWorkflowRunBlock(activeItem) &&
activeItem.workflow_run_block_id === block.workflow_run_block_id,
},