feat: fixed the issue where chat greetings could not appear (#95)

This commit is contained in:
balibabu
2024-03-05 12:01:48 +08:00
committed by GitHub
parent eec529f8c5
commit 59d8442d0d
8 changed files with 56 additions and 18 deletions

View File

@ -1,7 +1,8 @@
.chatContainer {
padding: 0 24px 24px;
padding: 0 0 24px 24px;
.messageContainer {
overflow-y: auto;
padding-right: 24px;
}
}

View File

@ -145,7 +145,7 @@ const MessageItem = ({
<AssistantIcon></AssistantIcon>
)}
<Flex vertical gap={8} flex={1}>
<b>{isAssistant ? 'Resume Assistant' : 'You'}</b>
<b>{isAssistant ? '' : userInfo.nickname}</b>
<div className={styles.messageText}>
<Markdown
rehypePlugins={[rehypeWrapReference]}