样式修正,暂停按钮布局

This commit is contained in:
sijinhui 2024-02-15 10:52:04 +08:00
parent e206fb900c
commit d701e63a52

View File

@ -1263,45 +1263,6 @@ function _Chat() {
? Locale.Chat.IsContext ? Locale.Chat.IsContext
: message.date.toLocaleString()} : message.date.toLocaleString()}
</div> </div>
{/*{showActions && (*/}
{/* <div className={styles["chat-message-actions"]}>*/}
{/* <div className={styles["chat-input-actions"]}>*/}
{/* {message.streaming ? (*/}
{/* <ChatAction*/}
{/* text={Locale.Chat.Actions.Stop}*/}
{/* icon={<StopIcon />}*/}
{/* onClick={() => onUserStop(message.id ?? i)}*/}
{/* />*/}
{/* ) : (*/}
{/* <>*/}
{/* <ChatAction*/}
{/* text={Locale.Chat.Actions.Retry}*/}
{/* icon={<ResetIcon />}*/}
{/* onClick={() => onResend(message)}*/}
{/* />*/}
{/* <ChatAction*/}
{/* text={Locale.Chat.Actions.Delete}*/}
{/* icon={<DeleteIcon />}*/}
{/* onClick={() => onDelete(message.id ?? i)}*/}
{/* />*/}
{/* <ChatAction*/}
{/* text={Locale.Chat.Actions.Pin}*/}
{/* icon={<PinIcon />}*/}
{/* onClick={() => onPinMessage(message)}*/}
{/* />*/}
{/* <ChatAction*/}
{/* text={Locale.Chat.Actions.Copy}*/}
{/* icon={<CopyIcon />}*/}
{/* onClick={() => copyToClipboard(message.content)}*/}
{/* />*/}
{/* </>*/}
{/* )}*/}
{/* </div>*/}
{/* </div>*/}
{/*)}*/}
</div> </div>
{showTyping && ( {showTyping && (
<div className={styles["chat-message-status"]}> <div className={styles["chat-message-status"]}>
@ -1419,12 +1380,6 @@ function _Chat() {
</div> </div>
)} )}
{/*<div className={styles["chat-message-action-date"]}>*/}
{/* {isContext*/}
{/* ? Locale.Chat.IsContext*/}
{/* : message.date.toLocaleString()}*/}
{/*</div>*/}
{showActions && ( {showActions && (
<div <div
className={styles["chat-message-actions"]} className={styles["chat-message-actions"]}