changeset 3f49cd493483 in sao:5.4
details: https://hg.tryton.org/sao?cmd=changeset;node=3f49cd493483
description:
        Do not remove 25vw in max-width

        If there are multiple xexpanded cell in the same row, they all left 
25vw for
        the offcanvas. This gives too much space for the menu. It is better to 
allow an
        horizontal scrollbar in some cases.

        issue9027
        review276861002
        (grafted from aa837fed0c3a8bdfb9d68d5cc1ea52e7b7ac1e04)
diffstat:

 src/view/form.js |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 5b8b0b8ed983 -r 3f49cd493483 src/view/form.js
--- a/src/view/form.js  Mon Feb 17 23:15:55 2020 +0100
+++ b/src/view/form.js  Wed Feb 19 23:01:25 2020 +0100
@@ -601,10 +601,9 @@
                         }
                         cell.css('width', width + '%');
                         if (0 < width) {
-                            // 25 is the percentage of offcanvas on md
                             cell.css(
                                 'max-width',
-                                ((width * parent_max_width) - 25) + 'vw');
+                                (width * parent_max_width) + 'vw');
                         }
                     } else {
                         cell.css('width', '');

Reply via email to