refine setting layout

This commit is contained in:
ecwu
2024-07-17 11:25:09 +08:00
parent 415fb934ae
commit c2c17e5956
7 changed files with 545 additions and 563 deletions

View File

@@ -170,9 +170,9 @@ export default function Message(props: Props) {
)}
</div>
<div class="chat-footer opacity-50 flex gap-x-2">
<TTSPlay chat={chat} />
<DeleteIcon />
<button onClick={() => setShowEdit(true)}>Edit</button>
<CopyIcon textToCopy={getMessageText(chat)} />
{chatStore.tts_api && chatStore.tts_key && (
<TTSButton
chatStore={chatStore}
@@ -180,7 +180,7 @@ export default function Message(props: Props) {
setChatStore={setChatStore}
/>
)}
<CopyIcon textToCopy={getMessageText(chat)} />
<TTSPlay chat={chat} />
</div>
</div>
{showEdit && (