details:   https://code.tryton.org/tryton/commit/697eaf094946
branch:    7.8
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
        (grafted from 9f966d1051f17bbcf09959daf3fab1e1f28cff36)
diffstat:

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

diffs (20 lines):

diff -r a9a7837fd77a -r 697eaf094946 sao/src/sao.less
--- a/sao/src/sao.less  Sat Aug 01 10:49:03 2026 +0200
+++ b/sao/src/sao.less  Thu Jul 30 16:20:47 2026 +0200
@@ -1325,12 +1325,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