Selaa lähdekoodia

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

Vikey Chen 11 kuukautta sitten
vanhempi
commit
9808520992
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)) && (