fix linting issues

This commit is contained in:
bwees 2025-05-22 15:39:19 -05:00
parent 1f6ad41d3f
commit 674bfef92d
No known key found for this signature in database
4 changed files with 6 additions and 8 deletions

View File

@ -167,7 +167,7 @@
{$t('role_editor')}
{/if}
{#if user.id !== album.ownerId}
<ButtonContextMenu icon={mdiDotsVertical} size="20" title={$t('options')}>
<ButtonContextMenu icon={mdiDotsVertical} size="medium" title={$t('options')}>
{#if role === AlbumUserRole.Viewer}
<MenuOption
onClick={() => handleUpdateSharedUserRole(user, AlbumUserRole.Editor)}

View File

@ -65,9 +65,8 @@
<div class="absolute top-2 end-2 z-1">
<ButtonContextMenu
buttonClass="icon-white-drop-shadow focus:opacity-100 {showVerticalDots ? 'opacity-100' : 'opacity-0'}"
color="opaque"
padding="2"
size="20"
color="primary"
size="medium"
icon={mdiDotsVertical}
title={$t('show_person_options')}
>

View File

@ -103,11 +103,10 @@
<div class="sm:hidden">
<ButtonContextMenu
color="transparent"
color="primary"
title={$t('shared_link_options')}
icon={mdiDotsVertical}
size="24"
padding="3"
size="large"
hideContent
>
<SharedLinkEdit menuItem sharedLink={link} />

View File

@ -126,7 +126,7 @@
{/if}
</div>
{#if isOwned}
<ButtonContextMenu icon={mdiDotsVertical} size="20" title={$t('options')}>
<ButtonContextMenu icon={mdiDotsVertical} size="medium" title={$t('options')}>
{#if role === AlbumUserRole.Viewer}
<MenuOption onClick={() => handleSetReadonly(user, AlbumUserRole.Editor)} text={$t('allow_edits')} />
{:else}