aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-09-03 04:09:56 +0000
committerShpuld Shpludson <shp@cock.li>2019-09-03 04:09:56 +0000
commitfbfedf0084733aacde978a468f7f73cb4e0de1dc (patch)
tree303e43c00ba868f33b34bba18f91f2dc00b3ef6f /src/components/attachment/attachment.vue
parent9825a857f3d7c5d4dfc7635da90410c5e51f7374 (diff)
parent15c4088a683b17dbc43d7374676b277f539057da (diff)
Merge branch 'fix/attachment-css' into 'develop'
Make image orientation consistent on FF, fix videos w/ modal See merge request pleroma/pleroma-fe!926
Diffstat (limited to 'src/components/attachment/attachment.vue')
-rw-r--r--src/components/attachment/attachment.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index ec326c45..af16e302 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -190,6 +190,7 @@
.video {
width: 100%;
+ height: 100%;
}
.play-icon {
@@ -286,7 +287,7 @@
}
img {
- image-orientation: from-image;
+ image-orientation: from-image; // NOTE: only FF supports this
}
}
}