aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_card
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-10-29 21:39:36 +0200
committerHenry Jameson <me@hjkos.com>2020-10-29 22:54:28 +0200
commit0653f189946ddbd65a2455e6929927c3d721ec82 (patch)
tree5a40d3b7cd3428ace9b8a32b8e504a17d26e5d0f /src/components/user_card
parent4e1f2aeabc2fa985ae0196744885ca62e717ec0a (diff)
fix play-on-hover gifs issues
Diffstat (limited to 'src/components/user_card')
-rw-r--r--src/components/user_card/user_card.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue
index 52a54fa7..f916af9d 100644
--- a/src/components/user_card/user_card.vue
+++ b/src/components/user_card/user_card.vue
@@ -282,6 +282,11 @@
.user-card {
position: relative;
+ &:hover .Avatar {
+ --_still-image-img-visibility: visible;
+ --_still-image-canvas-visibility: hidden;
+ }
+
.panel-heading {
padding: .5em 0;
text-align: center;
@@ -393,11 +398,6 @@
}
}
- &:hover .Avatar {
- --still-image-img: visible;
- --still-image-canvas: hidden;
- }
-
&-avatar-link {
position: relative;
cursor: pointer;