aboutsummaryrefslogtreecommitdiff
path: root/src/components/still-image/still-image.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/still-image/still-image.vue')
-rw-r--r--src/components/still-image/still-image.vue14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue
index 91d7f77a..5695c554 100644
--- a/src/components/still-image/still-image.vue
+++ b/src/components/still-image/still-image.vue
@@ -12,17 +12,23 @@
.still-image {
position: relative;
line-height: 0;
-
+ overflow: hidden;
+
&:hover canvas {
display: none;
}
-
+
+ img {
+ width: 100%;
+ height: 100%
+ }
+
&.animated {
&:hover::before,
img {
- visibility: hidden
+ visibility: hidden;
}
-
+
&:hover img {
visibility: visible
}