aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-08-18 23:57:42 +0300
committerHenry Jameson <me@hjkos.com>2020-08-18 23:57:42 +0300
commit815f230ac7ace5a1507afae91bafa57589a77522 (patch)
tree9893cd00ef1b97dd596adfe291b8b3346dd41c56 /src/components/attachment/attachment.vue
parent7de78b1401cf8454026afd0a2ba2578356173bcd (diff)
fixed some issues related to user avatar
Diffstat (limited to 'src/components/attachment/attachment.vue')
-rw-r--r--src/components/attachment/attachment.vue8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index be7377e9..63e0ceba 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -60,6 +60,7 @@
@click="openModal"
>
<StillImage
+ class="image"
:referrerpolicy="referrerpolicy"
:mimetype="attachment.mimetype"
:src="attachment.large_thumb_url || attachment.url"
@@ -281,8 +282,11 @@
}
.image-attachment {
- width: 100%;
- height: 100%;
+ &,
+ & .image {
+ width: 100%;
+ height: 100%;
+ }
&.hidden {
display: none;