Skip to content

Commit c9fd3cf

Browse files
committed
Fix z-index for validation
1 parent 1194c97 commit c9fd3cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/agentflow/src/Agentflow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function AgentflowCanvas({
267267
position: 'absolute',
268268
left: showDefaultPalette ? 70 : 20, // 70px offset = ~10px gap between buttons
269269
top: 20,
270-
zIndex: 1001
270+
zIndex: 10
271271
}}
272272
>
273273
<IconSparkles />
@@ -276,7 +276,7 @@ function AgentflowCanvas({
276276

277277
{/* Canvas action buttons - positioned at top right */}
278278
{!readOnly && (
279-
<div style={{ position: 'absolute', right: 20, top: 20, zIndex: 1001, display: 'flex', gap: 8 }}>
279+
<div style={{ position: 'absolute', right: 20, top: 20, zIndex: 10, display: 'flex', gap: 8 }}>
280280
<ValidationFeedback
281281
nodes={nodes as FlowNode[]}
282282
edges={edges as FlowEdge[]}

0 commit comments

Comments
 (0)