aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment
diff options
context:
space:
mode:
authorShpuld Shpuldson <shpuld@shpposter.club>2019-08-26 14:08:30 +0300
committerShpuld Shpuldson <shpuld@shpposter.club>2019-08-26 14:08:30 +0300
commit15c4088a683b17dbc43d7374676b277f539057da (patch)
tree740b281774c187c07a439798016752af9fe5f792 /src/components/attachment
parent0e21c3cdd9cbc2a60d82c4bd714cd0f5690bafd9 (diff)
Make image orientation consistent on FF, fix videos w/ modal
Diffstat (limited to 'src/components/attachment')
-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
}
}
}