feat: add account hover card (#80)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
parent
4505080ba8
commit
410d41a0a8
2 changed files with 39 additions and 1 deletions
|
@ -79,7 +79,12 @@ const timeago = useTimeAgo(() => status.createdAt, {
|
|||
</div>
|
||||
</div>
|
||||
<div flex gap-4>
|
||||
<AccountAvatar mt1 w-12 h-12 :account="status.account" />
|
||||
<div relative flex-shrink-0>
|
||||
<div group>
|
||||
<AccountHoverCard top="-3.2" left="-4.4" absolute :account="status.account" op0 pointer-events-none group-hover="pointer-events-auto op100 scale-100" delay-250 transition transform scale-20 class="ease-[cubic-bezier(0.4, 0.0, 0.2, 1)]" />
|
||||
<AccountAvatar mt1 w-12 h-12 :account="status.account" />
|
||||
</div>
|
||||
</div>
|
||||
<div flex="~ col 1">
|
||||
<div flex>
|
||||
<StatusAccountDetails :account="status.account" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue