mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 10:05:56 +08:00
fix: improve separation element in prompt log and TTS buttons in the operation (#6413)
This commit is contained in:
parent
588615b20e
commit
166a40c66e
@ -113,11 +113,14 @@ const Operation: FC<OperationProps> = ({
|
|||||||
{!isOpeningStatement && (showPromptLog || config?.text_to_speech?.enabled) && (
|
{!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'>
|
<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 && (
|
{showPromptLog && (
|
||||||
<Log logItem={item} />
|
<>
|
||||||
|
<Log logItem={item} />
|
||||||
|
<div className='mx-1 w-[1px] h-[14px] bg-gray-200' />
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{(config?.text_to_speech?.enabled) && (
|
{(config?.text_to_speech?.enabled) && (
|
||||||
<>
|
<>
|
||||||
<div className='mx-1 w-[1px] h-[14px] bg-gray-200' />
|
|
||||||
<AudioBtn
|
<AudioBtn
|
||||||
id={id}
|
id={id}
|
||||||
value={content}
|
value={content}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user