diff --git a/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx b/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx index f4a1819..f8b976f 100644 --- a/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx +++ b/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx @@ -5,7 +5,6 @@ import { Trash2Icon } from "lucide-react" import { Button } from "@/components/ui/button" import { Input } from "@/components/ui/input" -import { Label } from "@/components/ui/label" import { OptionCombobox } from "@/components/option-combobox" import type { AIWorkflowDefinition, AIWorkflowNodeSpec } from "@/lib/api/admin" import { cn } from "@/lib/utils" @@ -41,8 +40,8 @@ const CONDITION_OPERATOR_OPTIONS = [ { value: "empty", label: "为空" }, ] -const cardInputClassName = "h-8 rounded-md border-slate-200 bg-white text-xs shadow-none" -const cardComboboxClassName = "h-8 rounded-md border-slate-200 bg-white text-xs shadow-none" +const inspectorInputClassName = "h-7 rounded-sm border-slate-200 bg-white px-2 text-xs shadow-none" +const inspectorComboboxClassName = "h-7 rounded-sm border-slate-200 bg-white text-xs shadow-none" export function NodeConfigPanel({ node, @@ -108,7 +107,7 @@ export function NodeConfigPanel({ } return ( -