diff options
| author | Shpuld Shpuldson <shpuld@shpposter.club> | 2019-08-26 14:08:30 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@shpposter.club> | 2019-08-26 14:08:30 +0300 |
| commit | 15c4088a683b17dbc43d7374676b277f539057da (patch) | |
| tree | 740b281774c187c07a439798016752af9fe5f792 | |
| parent | 0e21c3cdd9cbc2a60d82c4bd714cd0f5690bafd9 (diff) | |
Make image orientation consistent on FF, fix videos w/ modal
| -rw-r--r-- | src/components/attachment/attachment.vue | 3 | ||||
| -rw-r--r-- | src/components/media_modal/media_modal.vue | 1 |
2 files changed, 3 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 } } } diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue index 0543e677..ab5a36a5 100644 --- 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 { |
