Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: sometimes error message not display complete (#18663)

非法操作212521c92ba8
diff --git a/web/app/components/base/toast/index.tsx b/web/app/components/base/toast/index.tsx
index b84a321dd49..725c7af8c28 100644
--- a/web/app/components/base/toast/index.tsx
+++ b/web/app/components/base/toast/index.tsx
@@ -68,7 +68,7 @@ const Toast = ({
</div>
<div className={`flex py-1 ${size === 'md' ? 'px-1' : 'px-0.5'} grow flex-col items-start gap-1`}>
<div className='flex items-center gap-1'>
- <div className='system-sm-semibold text-text-primary'>{message}</div>
+ <div className='system-sm-semibold text-text-primary [word-break:break-word]'>{message}</div>
{customComponent}
</div>
{children && <div className='system-xs-regular text-text-secondary'>