feat: add hover card for user list
This commit is contained in:
parent
fd3e758336
commit
d2c4d62cf5
4 changed files with 14 additions and 3 deletions
|
@ -3,6 +3,7 @@ import type { Account } from 'masto'
|
|||
|
||||
const { account } = defineProps<{
|
||||
account: Account
|
||||
hoverCard?: boolean
|
||||
}>()
|
||||
|
||||
cacheAccount(account)
|
||||
|
@ -10,7 +11,11 @@ cacheAccount(account)
|
|||
|
||||
<template>
|
||||
<div flex justify-between hover:bg-active transition-100>
|
||||
<AccountInfo :account="account" hover p1 as="router-link" :to="getAccountPath(account)" />
|
||||
<AccountInfo
|
||||
:account="account" hover p1 as="router-link"
|
||||
:hover-card="hoverCard"
|
||||
:to="getAccountPath(account)"
|
||||
/>
|
||||
<div h-full p1>
|
||||
<AccountFollowButton :account="account" />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue