From 279f099ba0ddaf7513121879592eccc34f812a50 Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Mon, 6 Nov 2023 20:11:55 +0800 Subject: [PATCH] fix: chat style (#1463) --- web/app/components/app/chat/more-info/index.tsx | 2 +- web/app/components/app/chat/style.module.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/web/app/components/app/chat/more-info/index.tsx b/web/app/components/app/chat/more-info/index.tsx index 89248e3169..4b18a0f374 100644 --- a/web/app/components/app/chat/more-info/index.tsx +++ b/web/app/components/app/chat/more-info/index.tsx @@ -9,7 +9,7 @@ export type IMoreInfoProps = { more: MessageMore; isQuestion: boolean } const MoreInfo: FC = ({ more, isQuestion }) => { const { t } = useTranslation() - return (
+ return (
{`${t('appLog.detail.timeConsuming')} ${more.latency}${t('appLog.detail.second')}`} {`${t('appLog.detail.tokenCost')} ${formatNumber(more.tokens)}`} ยท diff --git a/web/app/components/app/chat/style.module.css b/web/app/components/app/chat/style.module.css index b29abc78d8..65f8a326d7 100644 --- a/web/app/components/app/chat/style.module.css +++ b/web/app/components/app/chat/style.module.css @@ -53,7 +53,6 @@ justify-content: flex-end; } -.answerWrap, .question { display: inline-block; max-width: 100%;