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: improve separation element in prompt log and TTS buttons in the operation (#6413)

Kuizuo166a40c66e11
diff --git a/web/app/components/base/chat/chat/answer/operation.tsx b/web/app/components/base/chat/chat/answer/operation.tsx
index e3e912d2890..d46aa343759 100644
--- a/web/app/components/base/chat/chat/answer/operation.tsx
+++ b/web/app/components/base/chat/chat/answer/operation.tsx
@@ -113,11 +113,14 @@ const Operation: FC<OperationProps> = ({
{!isOpeningStatement && (showPromptLog || config?.text_to_speech?.enabled) && (
<div className='hidden group-hover:flex items-center w-max h-[28px] p-0.5 rounded-lg bg-white border-[0.5px] border-gray-100 shadow-md shrink-0'>
{showPromptLog && (
- <Log logItem={item} />
+ <>
+ <Log logItem={item} />
+ <div className='mx-1 w-[1px] h-[14px] bg-gray-200' />
+ </>
)}
+
{(config?.text_to_speech?.enabled) && (
<>
- <div className='mx-1 w-[1px] h-[14px] bg-gray-200' />
<AudioBtn
id={id}
value={content}