label icon buttons
This commit is contained in:
parent
dcef776d44
commit
662fceee57
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
<div class="top-bar">
|
||||
{#if !$showSidebar || getItem("ui:showSidebarToggle")}
|
||||
<button class="icon-button menu-button" on:click="{ () => showSidebar.set(!showSidebar.value) }">
|
||||
<button class="icon-button menu-button" on:click="{ () => showSidebar.set(!showSidebar.value) }" aria-label="Toggle sidebar">
|
||||
<MenuIcon />
|
||||
</button>
|
||||
{/if}
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<span class="author">{ message.author_username }</span>
|
||||
<span class="message-content" class:pending={ message._isPending }>{ message.content }</span>
|
||||
{#if userInfoStore.value && (message.author_id === userInfoStore.value.id || userInfoStore.value.is_superuser)}
|
||||
<button class="icon-button icon-button-auto edit-message" on:click="{ () => overlayStore.open('editMessage', { message }) }">
|
||||
<button class="icon-button icon-button-auto edit-message" on:click="{ () => overlayStore.open('editMessage', { message }) }" aria-label="Edit Message">
|
||||
<MoreVerticalIcon />
|
||||
</button>
|
||||
{/if}
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<span class="unread-indicator">•</span>
|
||||
{/if}
|
||||
{#if $userInfoStore && (channel.owner_id === $userInfoStore.id || $userInfoStore.is_superuser)}
|
||||
<button class="icon-button icon-button-auto" on:click|stopPropagation="{ () => overlayStore.open('editChannel', { channel }) }">
|
||||
<button class="icon-button icon-button-auto" on:click|stopPropagation="{ () => overlayStore.open('editChannel', { channel }) }" aria-label="Edit Channel">
|
||||
<MoreVerticalIcon />
|
||||
</button>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue