mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 01:11:07 +03:00
chore: improve context button accessibility (#21876)
Make context menu button filled on album list and faces page
This commit is contained in:
@@ -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')}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user