Skip to content

Commit

Permalink
🔄 synced local 'skyvern-frontend/src/' with remote 'skyvern-frontend/…
Browse files Browse the repository at this point in the history
…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Fixes UI overflow and adds unique keys to React components in workflow run timeline.
>
>   - **UI Fixes**:
>     - Adjust `max-h` from `42rem` to `40rem` in `WorkflowRunOverview.tsx` to fix overflow issue.
>   - **React Key Fixes**:
>     - Add `key` prop to `WorkflowRunTimelineBlockItem` in `WorkflowRunTimelineBlockItem.tsx` for unique identification of mapped components.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for c0719d9b2b16d35c22559f8fba0220dcbd2d815c. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
wintonzheng committed Dec 24, 2024
1 parent 517de67 commit 0893445
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function WorkflowRunOverview() {
</div>
<div className="w-1/3 min-w-0 rounded bg-slate-elevation1 p-4">
<ScrollArea>
<ScrollAreaViewport className="max-h-[42rem]">
<ScrollAreaViewport className="max-h-[40rem]">
<div className="space-y-4">
<div className="gap-2"></div>
{workflowRunIsNotFinalized && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ function WorkflowRunTimelineBlockItem({
{subBlocks.map((block) => {
return (
<WorkflowRunTimelineBlockItem
key={block.workflow_run_block_id}
block={block}
activeItem={activeItem}
onActionClick={onActionClick}
Expand Down

0 comments on commit 0893445

Please sign in to comment.