Browse Source

fix: copy button is always displayed on the chat logs page (#4488)

Vikey Chen 11 tháng trước cách đây
mục cha
commit
9808520992
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      web/app/components/app/chat/answer/index.tsx

+ 1 - 1
web/app/components/app/chat/answer/index.tsx

@@ -362,7 +362,7 @@ const Answer: FC<IAnswerProps> = ({
                 {!item.isOpeningStatement && (
                   <CopyBtn
                     value={content}
-                    className='mr-1'
+                    className={cn(s.copyBtn, 'mr-1')}
                   />
                 )}
                 {((isShowPromptLog && !isResponding) || (!item.isOpeningStatement && isShowTextToSpeech)) && (