mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(ux): connection block render
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ export function ConnectionBlocks({ blockId, setIsConnecting }: ConnectionBlocksP
|
||||
)
|
||||
|
||||
return (
|
||||
<div className="absolute -left-[220px] w-[200px] top-0 space-y-2 flex flex-col items-end max-h-[400px] overflow-y-auto">
|
||||
<div className="absolute right-full pr-5 top-0 space-y-2 flex flex-col items-end max-h-[400px] overflow-y-auto">
|
||||
{sortedConnections.map((connection) => (
|
||||
<div key={connection.id} className="space-y-2">
|
||||
{Array.isArray(connection.outputType) ? (
|
||||
|
||||
@@ -124,7 +124,7 @@ export function Sidebar() {
|
||||
</Tooltip>
|
||||
|
||||
{/* Agents */}
|
||||
<Tooltip>
|
||||
{/* <Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<Button
|
||||
variant="ghost"
|
||||
@@ -144,7 +144,7 @@ export function Sidebar() {
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent side="right">Agents</TooltipContent>
|
||||
</Tooltip>
|
||||
</Tooltip> */}
|
||||
|
||||
{/* Logs */}
|
||||
<Tooltip>
|
||||
|
||||
Reference in New Issue
Block a user