From dcf21a6a846e01fe63e1ad700dca3e768194f355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=9E=E6=B3=95=E6=93=8D=E4=BD=9C?= Date: Thu, 30 Apr 2026 17:20:37 +0800 Subject: [PATCH] fix: prevent workflow node titles from overflowing (#35740) --- .../base/chat/chat/answer/workflow-process.tsx | 4 ++-- web/app/components/workflow/nodes/_base/node.tsx | 16 +++++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/web/app/components/base/chat/chat/answer/workflow-process.tsx b/web/app/components/base/chat/chat/answer/workflow-process.tsx index fb67fe80ff..b2036e9060 100644 --- a/web/app/components/base/chat/chat/answer/workflow-process.tsx +++ b/web/app/components/base/chat/chat/answer/workflow-process.tsx @@ -92,12 +92,12 @@ const WorkflowProcessItem = ({ ) }
{!collapse ? t('common.workflowProcess', { ns: 'workflow' }) : latestNode?.title}
-
+
{ !collapse && ( diff --git a/web/app/components/workflow/nodes/_base/node.tsx b/web/app/components/workflow/nodes/_base/node.tsx index 43f8e5773e..7779e7f534 100644 --- a/web/app/components/workflow/nodes/_base/node.tsx +++ b/web/app/components/workflow/nodes/_base/node.tsx @@ -284,13 +284,15 @@ const BaseNode: FC = ({
)} - +
+ +