ui: improve account hover
This commit is contained in:
parent
33268b1f70
commit
3cd8fb54dd
4 changed files with 31 additions and 25 deletions
16
components/account/AccountHoverWrapper.vue
Normal file
16
components/account/AccountHoverWrapper.vue
Normal file
|
@ -0,0 +1,16 @@
|
|||
<script setup lang="ts">
|
||||
import type { Account } from 'masto'
|
||||
|
||||
defineProps<{
|
||||
account: Account
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VMenu placement="bottom-start">
|
||||
<slot />
|
||||
<template #popper>
|
||||
<AccountHoverCard :account="account" />
|
||||
</template>
|
||||
</VMenu>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue