details:   https://code.tryton.org/tryton/commit/9f966d1051f1
branch:    default
user:      Cédric Krier <[email protected]>
date:      Thu Jul 30 16:20:47 2026 +0200
description:
        Do not set width and height to 100% for <img/> of document

        Closes #14979
diffstat:

 sao/src/sao.less |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 314f4ccf52ed -r 9f966d1051f1 sao/src/sao.less
--- a/sao/src/sao.less  Thu Aug 06 14:55:18 2026 +0200
+++ b/sao/src/sao.less  Thu Jul 30 16:20:47 2026 +0200
@@ -1387,12 +1387,14 @@
         object, iframe, img {
             max-width: 100%;
             min-height: 50vh;
-            height: 100%;
-            width: 100%;
             @media screen and (max-width: @screen-xs-max) {
                 min-height: 50vh;
             }
         }
+        object, iframe {
+            height: 100%;
+            width: 100%;
+        }
     }
     label {
         font-weight: normal;

Reply via email to