Skip to content

Commit

Permalink
fix: return controls
Browse files Browse the repository at this point in the history
  • Loading branch information
MXerFix committed Aug 29, 2024
1 parent 41bbbbc commit e83cd3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/pages/Flow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import ReactFlow, {
Background,
BackgroundVariant,
Connection,
Controls,
Edge,
HandleType,
Node,
Expand Down Expand Up @@ -419,6 +420,10 @@ export default function Flow() {
gap={workspaceMode ? 24 : 96}
size={workspaceMode ? 1 : 2}
/>
<Controls
fitViewOptions={{ padding: 0.25 }}
className='bg-transparent shadow-none fill-foreground stroke-foreground text-foreground [&>button]:my-1 [&>button]:rounded [&>button]:bg-bg-secondary [&>button]:border-none hover:[&>button]:bg-border'
/>
</ReactFlow>
</a.div>
))}
Expand Down

0 comments on commit e83cd3c

Please sign in to comment.