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: table too wide fix text generation ui (#566)

Joel20514ff288f4
diff --git a/web/app/components/app/text-generate/item/index.tsx b/web/app/components/app/text-generate/item/index.tsx
index a9873dc8b94..8798b9f8381 100644
--- a/web/app/components/app/text-generate/item/index.tsx
+++ b/web/app/components/app/text-generate/item/index.tsx
@@ -184,7 +184,11 @@ const GenerationItem: FC<IGenerationItemProps> = ({
{taskId}
</div>)
}
- <Markdown content={content} />
+ <div className='flex'>
+ <div className='grow w-0'>
+ <Markdown content={content} />
+ </div>
+ </div>
{messageId && (
<div className='flex items-center justify-between mt-3'>
<div className='flex items-center'>