make animated reactions pause unless hovered on notifications

This commit is contained in:
sarah 2024-03-01 20:02:19 +01:00
commit 1f5f8665c8
2 changed files with 8 additions and 5 deletions

View file

@ -116,12 +116,13 @@
scope="global"
keypath="notifications.reacted_with"
>
<img
<still-image
v-if="notification.emoji_url !== null"
class="notification-reaction-emoji"
class="notification-reaction-emoji emoji img"
:src="notification.emoji_url"
:name="notification.emoji"
>
:title="notification.emoji"
:alt="notification.emoji"
/>
<span
v-else
class="emoji-reaction-emoji"