1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-05 00:19:59 +00:00

fix: hide account card when not hovering

This commit is contained in:
三咲智子 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

View file

@ -17,9 +17,9 @@ defineOptions({
<AccountHoverCard
:account="account"
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
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)]"
class="ease-[cubic-bezier(0.4, 0.0, 0.2, 1)]"
style="transform-origin: calc(1rem + 1px) calc(0.75rem + 1px);"