add offset

This commit is contained in:
Henry Jameson 2025-01-20 16:39:07 +02:00
parent 1584e087f2
commit 9f33a68154
2 changed files with 2 additions and 0 deletions

View file

@ -74,6 +74,7 @@
v-if="button.name === 'bookmark'"
trigger="hover"
:placement="extra ? 'right' : 'top'"
:offset="{ y: 5 }"
:trigger-attrs="{ class: 'extra-button' }"
>
<template #trigger>

View file

@ -3,6 +3,7 @@
<Popover
v-if="button.dropdown?.()"
trigger="hover"
:offset="{ y: 5 }"
:placement="$attrs.extra ? 'right' : 'top'"
>
<template #trigger>