aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2020-08-19 10:20:38 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2020-08-19 10:20:38 +0000
commitddeeb240acf229d159e7f85f508a9d92213e2be4 (patch)
tree3f1fbde59bc3c4831f4a46cf0b7efbc3556f37fb /src/components/attachment/attachment.vue
parent1a8840c7c3bb698f3984028db5c1b71025d9d6a1 (diff)
parent800047b81f4375577e7d7298409cea5bd751ea71 (diff)
Merge branch 'css-fixes' into 'develop'
Css fixes See merge request pleroma/pleroma-fe!1211
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;