ui: improve account hover

This commit is contained in:
Anthony Fu 2022-11-27 10:13:18 +08:00
parent 33268b1f70
commit 3cd8fb54dd
4 changed files with 31 additions and 25 deletions

View 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>