Add a tooltip (as title) on add parameter (#1511)

This commit is contained in:
Shuchang Zheng
2025-01-07 07:41:35 -08:00
committed by GitHub
parent 94795fb472
commit ddc934ace3
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ function WorkflowBlockInput(props: Props) {
<div className="absolute right-0 top-0 flex size-9 cursor-pointer items-center justify-center"> <div className="absolute right-0 top-0 flex size-9 cursor-pointer items-center justify-center">
<Popover> <Popover>
<PopoverTrigger asChild> <PopoverTrigger asChild>
<div className="rounded p-1 hover:bg-muted"> <div className="rounded p-1 hover:bg-muted" title="Add a parameter">
<PlusIcon className="size-4" /> <PlusIcon className="size-4" />
</div> </div>
</PopoverTrigger> </PopoverTrigger>

View File

@@ -27,7 +27,7 @@ function WorkflowBlockInputTextarea(props: Props) {
<div className="absolute right-0 top-0 flex size-9 cursor-pointer items-center justify-center"> <div className="absolute right-0 top-0 flex size-9 cursor-pointer items-center justify-center">
<Popover> <Popover>
<PopoverTrigger asChild> <PopoverTrigger asChild>
<div className="rounded p-1 hover:bg-muted"> <div className="rounded p-1 hover:bg-muted" title="Add a parameter">
<PlusIcon className="size-4" /> <PlusIcon className="size-4" />
</div> </div>
</PopoverTrigger> </PopoverTrigger>