From addf150a9e3d2a38c14790e5dc485aff63b30d7a Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 26 Jun 2023 13:35:12 +0800 Subject: [PATCH] fix: hove x scroll shake (#449) --- web/app/components/app/chat/index.tsx | 12 +++++++----- web/app/components/app/configuration/debug/index.tsx | 3 +-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/web/app/components/app/chat/index.tsx b/web/app/components/app/chat/index.tsx index 18cd5e9a28..cb103f5299 100644 --- a/web/app/components/app/chat/index.tsx +++ b/web/app/components/app/chat/index.tsx @@ -352,10 +352,12 @@ const Answer: FC = ({ item, feedbackDisabled = false, isHideFeedba }
- + {!item.isOpeningStatement && ( + + )} {!feedbackDisabled && !item.feedbackDisabled && renderItemOperation(displayScene !== 'console')} {/* Admin feedback is displayed only in the background. */} {!feedbackDisabled && renderFeedbackRating(localAdminFeedback?.rating, false, false)} @@ -487,7 +489,7 @@ const Chat: FC = ({ }, [suggestionList]) return ( -
+
{/* Chat List */}
{chatList.map((item) => { diff --git a/web/app/components/app/configuration/debug/index.tsx b/web/app/components/app/configuration/debug/index.tsx index 9a2bdca3c3..5ecae6ed4e 100644 --- a/web/app/components/app/configuration/debug/index.tsx +++ b/web/app/components/app/configuration/debug/index.tsx @@ -370,8 +370,7 @@ const Debug: FC = ({ {mode === AppType.chat && (
-
- {/* {JSON.stringify(chatList)} */} +