fix: hide account card when not hovering

zio/stable
三咲智子 2022-11-26 01:43:14 +08:00
parent c685d8d1e8
commit 008db64987
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 2 additions and 2 deletions

View File

@ -17,9 +17,9 @@ defineOptions({
<AccountHoverCard <AccountHoverCard
:account="account" :account="account"
absolute top-0 left-0 z-10 absolute top-0 left-0 z-10
op0 pointer-events-none rotate--2 op0 pointer-events-none rotate--2 mt--100vh
font-normal delay-300 duration-300 transition transform font-normal delay-300 duration-300 transition transform
group-hover="pointer-events-auto op100 rotate-0" group-hover="pointer-events-auto op100 rotate-0 mt-0"
translate="x-[calc(-1rem-1px)] y-[calc(-1rem-1px)]" translate="x-[calc(-1rem-1px)] y-[calc(-1rem-1px)]"
class="ease-[cubic-bezier(0.4, 0.0, 0.2, 1)]" class="ease-[cubic-bezier(0.4, 0.0, 0.2, 1)]"
style="transform-origin: calc(1rem + 1px) calc(0.75rem + 1px);" style="transform-origin: calc(1rem + 1px) calc(0.75rem + 1px);"