commit: fbfedf0084733aacde978a468f7f73cb4e0de1dc
parent: 9825a857f3d7c5d4dfc7635da90410c5e51f7374
Author: Shpuld Shpludson <shp@cock.li>
Date: Tue, 3 Sep 2019 04:09:56 +0000
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:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git 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
}
}
}
diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue
@@ -63,6 +63,7 @@
max-width: 90%;
max-height: 90%;
box-shadow: 0px 5px 15px 0 rgba(0, 0, 0, 0.5);
+ image-orientation: from-image; // NOTE: only FF supports this
}
.modal-view-button-arrow {