fix: improve separation element in prompt log and TTS buttons in the operation (#6413)

This commit is contained in:
Kuizuo 2024-07-18 14:44:34 +08:00 committed by GitHub
parent 588615b20e
commit 166a40c66e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}