This commit is contained in:
Timothy Jaeryang Baek 2025-12-10 17:03:51 -05:00
parent d098c57d4d
commit d7467a86e2

View file

@ -211,8 +211,8 @@
}} }}
> >
<div class=" w-full"> <div class=" w-full">
<div class=" self-center flex-1"> <div class=" self-center flex-1 justify-between">
<div class="flex items-center justify-between -my-1"> <div class="flex items-center justify-between -my-1 h-8">
<div class=" flex gap-2 items-center justify-between w-full"> <div class=" flex gap-2 items-center justify-between w-full">
<div> <div>
<Badge type="success" content={$i18n.t('Collection')} /> <Badge type="success" content={$i18n.t('Collection')} />
@ -224,17 +224,18 @@
</div> </div>
{/if} {/if}
</div> </div>
{#if item?.write_access}
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<div class=" flex self-center"> <div class=" flex self-center">
<ItemMenu <ItemMenu
on:delete={() => { on:delete={() => {
selectedItem = item; selectedItem = item;
showDeleteConfirm = true; showDeleteConfirm = true;
}} }}
/> />
</div>
</div> </div>
</div> {/if}
</div> </div>
<div class=" flex items-center gap-1 justify-between px-1.5"> <div class=" flex items-center gap-1 justify-between px-1.5">