mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore: improve context button accessibility (#21876)
Make context menu button filled on album list and faces page
This commit is contained in:
parent
17bbcdf584
commit
994a770921
2 changed files with 4 additions and 3 deletions
|
|
@ -48,7 +48,7 @@
|
||||||
aria-label={$t('show_album_options')}
|
aria-label={$t('show_album_options')}
|
||||||
icon={mdiDotsVertical}
|
icon={mdiDotsVertical}
|
||||||
shape="round"
|
shape="round"
|
||||||
variant="ghost"
|
variant="filled"
|
||||||
size="medium"
|
size="medium"
|
||||||
class="icon-white-drop-shadow"
|
class="icon-white-drop-shadow"
|
||||||
onclick={showAlbumContextMenu}
|
onclick={showAlbumContextMenu}
|
||||||
|
|
|
||||||
|
|
@ -64,9 +64,10 @@
|
||||||
{#if showVerticalDots}
|
{#if showVerticalDots}
|
||||||
<div class="absolute top-2 end-2 z-1">
|
<div class="absolute top-2 end-2 z-1">
|
||||||
<ButtonContextMenu
|
<ButtonContextMenu
|
||||||
buttonClass="icon-white-drop-shadow focus:opacity-100 {showVerticalDots ? 'opacity-100' : 'opacity-0'}"
|
buttonClass="icon-white-drop-shadow"
|
||||||
color="primary"
|
color="secondary"
|
||||||
size="medium"
|
size="medium"
|
||||||
|
variant="filled"
|
||||||
icon={mdiDotsVertical}
|
icon={mdiDotsVertical}
|
||||||
title={$t('show_person_options')}
|
title={$t('show_person_options')}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue