From 665dc6a402eefbbb867c7f65fc34a90b118f526a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 28 Oct 2021 09:03:22 +0200 Subject: [PATCH] Make widget children inherits the min-height This ensure that the children widget will expand vertically. issue10899 review385281002 --- src/view/form.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/view/form.js b/src/view/form.js index 4494fb257b..9033b19d0a 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -75,6 +75,9 @@ function eval_pyson(value){ if (attributes.height !== undefined) { widget.el.css('min-height', attributes.height + 'px'); + if (widget.el.children().length == 1) { + widget.el.children().css('min-height', 'inherit'); + } } if (attributes.width !== undefined) { widget.el.css('min-width', attributes.width + 'px');