This commit is contained in:
2025-07-06 13:31:32 +09:00
parent f86c068828
commit cde826eb4a
3 changed files with 6 additions and 3 deletions

View File

@@ -248,10 +248,13 @@ select option.is-default {
} }
.message { .message {
border-radius: 0px !important;
margin-bottom: 0px !important; margin-bottom: 0px !important;
} }
.chat-message {
padding: 10px 20px;
}
.user-message>.message-body { .user-message>.message-body {
border-radius: 0; border-radius: 0;
border-width: 0; border-width: 0;

View File

@@ -95,7 +95,7 @@
<a class="is-pulled-right is-hidden px-1 py-0 has-text-weight-bold edit-button" href={'$'} on:click|preventDefault={() => edit()}><Fa icon={faPencil} /></a> <a class="is-pulled-right is-hidden px-1 py-0 has-text-weight-bold edit-button" href={'$'} on:click|preventDefault={() => edit()}><Fa icon={faPencil} /></a>
<a class="is-pulled-right is-hidden px-1 py-0 has-text-weight-bold delete-button" href={'$'} on:click|preventDefault={() => delChat()}><Fa icon={faTrash} /></a> <a class="is-pulled-right is-hidden px-1 py-0 has-text-weight-bold delete-button" href={'$'} on:click|preventDefault={() => delChat()}><Fa icon={faTrash} /></a>
{/if} {/if}
<span class="chat-item-name">{chat.name || `New Chat`}</span> <span class="chat-item-name">{chat.name || 'Error'}</span>
</a> </a>
{/if} {/if}
</li> </li>

View File

@@ -14,7 +14,7 @@ let hasModels = hasActiveModels()
onMount(() => { onMount(() => {
if (!$started) { if (!$started) {
$started = true $started = true
// console.log('started', apiKey, $lastChatId, getChat($lastChatId)) console.log('started', apiKey, $lastChatId, getChat($lastChatId))
if (hasActiveModels() && getChat($lastChatId)) { if (hasActiveModels() && getChat($lastChatId)) {
const chatId = $lastChatId const chatId = $lastChatId
$lastChatId = '' $lastChatId = ''