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')} {$t('role_editor')}
{/if} {/if}
{#if user.id !== album.ownerId} {#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} {#if role === AlbumUserRole.Viewer}
<MenuOption <MenuOption
onClick={() => handleUpdateSharedUserRole(user, AlbumUserRole.Editor)} onClick={() => handleUpdateSharedUserRole(user, AlbumUserRole.Editor)}

View File

@ -65,9 +65,8 @@
<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 focus:opacity-100 {showVerticalDots ? 'opacity-100' : 'opacity-0'}"
color="opaque" color="primary"
padding="2" size="medium"
size="20"
icon={mdiDotsVertical} icon={mdiDotsVertical}
title={$t('show_person_options')} title={$t('show_person_options')}
> >

View File

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

View File

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