styles
This commit is contained in:
@@ -124,7 +124,7 @@ export function BaseNodeHeaderRow({
|
|||||||
return (
|
return (
|
||||||
<header
|
<header
|
||||||
className={cn(
|
className={cn(
|
||||||
"shrink-0 mx-0 my-0 -mb-1 flex flex-row items-center justify-between gap-2 border-b px-3 py-2",
|
"shrink-0 mx-0 my-0 flex flex-row items-center justify-between gap-2 px-3 py-2",
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
@@ -162,7 +162,7 @@ export function BaseNodeContent({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
data-slot="base-node-content"
|
data-slot="base-node-content"
|
||||||
className={cn("min-h-0 flex-1 flex flex-col overflow-auto pt-1", className)}
|
className={cn("min-h-0 flex-1 flex flex-col overflow-auto", className)}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { Handle, Position } from '@xyflow/react'
|
import { Handle, Position } from '@xyflow/react'
|
||||||
import { Circle, CircleDashed } from 'lucide-react'
|
import { ArrowDownLeft, ArrowUpRight } from 'lucide-react'
|
||||||
|
|
||||||
type NodeHandleProps = {
|
type NodeHandleProps = {
|
||||||
id: string
|
id: string
|
||||||
@@ -26,7 +26,7 @@ export function InputHandle({ id }: NodeHandleProps) {
|
|||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<CircleDashed className="w-4 h-4 text-muted-foreground pointer-events-none" />
|
<ArrowDownLeft className="w-4 h-4 text-muted-foreground pointer-events-none" />
|
||||||
</Handle>
|
</Handle>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -51,7 +51,7 @@ export function OutputHandle({ id }: NodeHandleProps) {
|
|||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Circle className="w-4 h-4 text-foreground pointer-events-none" />
|
<ArrowUpRight className="w-4 h-4 text-foreground pointer-events-none" />
|
||||||
</Handle>
|
</Handle>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user