changeset aa837fed0c3a in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=aa837fed0c3a
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
diffstat:
src/view/form.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 3c6123efde15 -r aa837fed0c3a src/view/form.js
--- a/src/view/form.js Wed Feb 19 22:54:21 2020 +0100
+++ b/src/view/form.js Wed Feb 19 23:01:25 2020 +0100
@@ -619,10 +619,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', '');