Popover polish

This commit is contained in:
Austin Mroz
2026-01-05 21:27:59 -08:00
parent 8ffcf5a143
commit 5c693c5d23
2 changed files with 5 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ defineProps<{
<PopoverTrigger as-child>
<slot name="button">
<Button size="icon">
<i :class="icon" />
<i :class="icon ?? 'icon-[lucide--ellipsis]'" />
</Button>
</slot>
</PopoverTrigger>
@@ -33,12 +33,12 @@ defineProps<{
>
<slot>
<div class="flex flex-col p-1">
<entry-group
<popover-group
v-for="(entryGroup, index) in entries"
:key="index"
class="flex flex-col border-b-2 last:border-none border-border-subtle"
>
<entry-item
<popover-item
v-for="{ label, action, icon } in entryGroup"
:key="label"
:class="
@@ -58,8 +58,8 @@ defineProps<{
>
<i v-if="icon" :class="icon" />
{{ label }}
</entry-item>
</entry-group>
</popover-item>
</popover-group>
</div>
</slot>
<PopoverArrow class="fill-base-background stroke-border-subtle" />

View File

@@ -528,7 +528,6 @@ useEventListener(document.body, 'keydown', (e: KeyboardEvent) => {
}
]
]"
icon="icon-[lucide--ellipsis]"
/>
</linear-output-info>
<ImagePreview