From 55332cb23e650aa249d18701b9f00bef1b088805 Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 24 Mar 2025 14:56:58 +0800 Subject: [PATCH] fix: handle var full path panel popup in wrong position and style --- .../plugins/workflow-variable-block/component.tsx | 6 +++--- .../_base/components/variable/var-full-path-panel.tsx | 8 ++++---- .../_base/components/variable/var-reference-picker.tsx | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx b/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx index a31f605514..47217eae58 100644 --- a/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx +++ b/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx @@ -86,7 +86,7 @@ const WorkflowVariableBlockComponent = ({ const Item = (
- +
)} @@ -158,7 +158,7 @@ const WorkflowVariableBlockComponent = ({ />} disabled={!isShowAPart} > - {Item} +
{Item}
) } diff --git a/web/app/components/workflow/nodes/_base/components/variable/var-full-path-panel.tsx b/web/app/components/workflow/nodes/_base/components/variable/var-full-path-panel.tsx index 8742fae526..54e27b5e38 100644 --- a/web/app/components/workflow/nodes/_base/components/variable/var-full-path-panel.tsx +++ b/web/app/components/workflow/nodes/_base/components/variable/var-full-path-panel.tsx @@ -42,13 +42,13 @@ const VarFullPathPanel: FC = ({ } })() return ( -
-
+
+
-
{nodeName}
+
{nodeName}
= ({ className='h-full grow' >
- +
{hasValue ? ( @@ -369,7 +369,7 @@ const VarReferencePicker: FC = ({ )} {isShowAPart && (
- +
)}