Soften wave attachment animation

This commit is contained in:
klopez4212
2026-06-29 11:15:18 +01:00
parent 18951b957d
commit 47fa7ce48b
2 changed files with 3 additions and 11 deletions
@@ -53,11 +53,7 @@ export function WaveMessageAttachment({
data-testid="message-wave-attachment"
size="default"
>
<AttachmentMedia
aria-hidden="true"
className="bg-primary/10 text-2xl text-foreground"
variant="image"
>
<AttachmentMedia aria-hidden="true" className="text-lg">
<span className="buzz-wave-hand">👋</span>
</AttachmentMedia>
<AttachmentContent>
+2 -6
View File
@@ -48,7 +48,7 @@
@media (hover: hover) and (pointer: fine) {
.buzz-wave-hover-trigger:hover .buzz-wave-hand {
animation: buzz-wave-hand 720ms ease-in-out both;
animation: buzz-wave-hand 960ms ease-in-out both;
}
}
@@ -73,11 +73,7 @@
25%,
51%,
77% {
transform: rotate(-30deg);
}
88% {
transform: rotate(8deg);
transform: rotate(-15deg);
}
}