new chat icon

This commit is contained in:
frdel 2026-01-07 10:08:34 +01:00
parent 140b7b96dd
commit 94a76cd4f0
2 changed files with 5 additions and 5 deletions

View file

@ -13,8 +13,8 @@
<div class="section-header-row">
<h3 class="section-header">Chats</h3>
<!-- New Chat Button -->
<button id="newChat" @click="$store.chats.newChat()" aria-label="New Chat" title="New Chat" data-bs-placement="top" data-bs-trigger="hover">
<span class="material-symbols-outlined">add_comment</span>
<button id="newChat" class="btn-icon-action chat-list-action-btn" @click="$store.chats.newChat()" aria-label="New Chat" title="New Chat" data-bs-placement="top" data-bs-trigger="hover">
<span class="material-symbols-outlined">edit_square</span>
</button>
</div>
@ -31,7 +31,7 @@
<span class="chat-name" :title="context.name ? context.name : 'Chat #' + context.no"
x-text="context.name ? context.name : 'Chat #' + context.no"></span>
</div>
<button class="btn-icon-action" title="Close chat" @click.stop="$confirmClick($event, () => $store.chats.killChat(context.id))">
<button class="btn-icon-action chat-list-action-btn" title="Close chat" @click.stop="$confirmClick($event, () => $store.chats.killChat(context.id))">
<span class="material-symbols-outlined">close</span>
</button>
</div>
@ -129,7 +129,7 @@
font-size: var(--font-size-small);
}
.chat-container .btn-icon-action {
.chat-list-action-btn {
flex-shrink: 0;
margin-right: 8px;
}

View file

@ -73,7 +73,7 @@
<div class="dropdown-header">Chat Actions</div>
<button class="dropdown-item" @click="$store.chats.newChat(); dropdownOpen = false">
<span class="material-symbols-outlined">add_comment</span>
<span class="material-symbols-outlined">edit_square</span>
<span>New Chat</span>
</button>