feat: profile card timming
continuous-integration/drone/push Build encountered an error Details

closes #687
This commit is contained in:
kieran 2024-04-12 13:19:27 +01:00
parent 77178bc728
commit 0babc928fa
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 3 additions and 3 deletions

View File

@ -108,8 +108,8 @@ export default function ProfileImage({
function profileCard() {
if (showProfileCard && user && isHovering) {
return (
<div className="absolute shadow-lg z-10">
<ProfileCard pubkey={pubkey} user={user} show={true} />
<div className="absolute shadow-lg z-10 fade-in">
<ProfileCard pubkey={pubkey} user={user} show={true} delay={100} />
</div>
);
}

View File

@ -761,7 +761,7 @@ button.tall {
opacity: 1;
animation-name: fadeInOpacity;
animation-timing-function: ease-in;
animation-duration: 0.5s;
animation-duration: 0.3s;
}
@keyframes fadeInOpacity {