mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
style: 发送中样式
This commit is contained in:
parent
72aa2bcad8
commit
1ff5cf9ed1
@ -622,7 +622,12 @@ export function Chat(props: {
|
|||||||
{Locale.Chat.Typing}
|
{Locale.Chat.Typing}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className={styles["chat-message-item"]}>
|
<div
|
||||||
|
className={`${styles["chat-message-item"]} ${
|
||||||
|
(message.preview || message.streaming) &&
|
||||||
|
styles["chat-message-typing"]
|
||||||
|
}`}
|
||||||
|
>
|
||||||
{!isUser &&
|
{!isUser &&
|
||||||
!(message.preview || message.content.length === 0) && (
|
!(message.preview || message.content.length === 0) && (
|
||||||
<div className={styles["chat-message-top-actions"]}>
|
<div className={styles["chat-message-top-actions"]}>
|
||||||
|
@ -259,6 +259,10 @@
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
.chat-message-typing {
|
||||||
|
background-color: #FFEB3B !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.user-avtar {
|
.user-avtar {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
Loading…
Reference in New Issue
Block a user