From cdc45742d0a5417376bd246bcbd38f727b186a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 21 Jun 2022 10:28:58 +0200 Subject: [PATCH] Use 75% as max parent width when resize container This avoids to have horizontal scroll bar when the menu is also display on large screen. issue11526 review411251004 --- src/view/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/form.js b/src/view/form.js index 6c0089954d..189a8ddf29 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -592,7 +592,7 @@ function eval_pyson(value){ var col = this.col; var has_expand = false; - var parent_max_width = 0.9; + var parent_max_width = 0.75; this.el.parents('td').each(function() { var width = this.style.width; if (width.endsWith('%')) {