summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/less/composer.less
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src/less/composer.less')
-rw-r--r--addons/mail/static/src/less/composer.less4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/mail/static/src/less/composer.less b/addons/mail/static/src/less/composer.less
index 9df25c895a3..e2fae8b106e 100644
--- a/addons/mail/static/src/less/composer.less
+++ b/addons/mail/static/src/less/composer.less
@@ -264,6 +264,7 @@
img {
width: @o-mail-attachment-image-size;
height: @o-mail-attachment-image-size;
+ image-orientation: from-image; // Only supported in Firefox
}
.o_image_overlay{
display: none;
@@ -365,6 +366,9 @@
.o-flex-display();
justify-content: center;
align-items: center;
+ img {
+ image-orientation: from-image; // Only supported in Firefox
+ }
img, video {
max-width: 100%;
max-height: 100%;