From b63a7deb0ed9696c80c970b5a00cf91ff1798229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Tue, 6 Sep 2022 09:40:06 +0000 Subject: [PATCH] [FIX] mail: dialog properly manage overflow for long content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, when content of dialog was long, content overflow but was not scrollable, which makes bottom unreachable, which is especially a problem when buttons are at the bottom. This problem solves the issue by adding classname `modal` to dialog. This classname puts proper handling of overflow of dialog and its content. Also remove `align-items-center` so that top doesn't overflow in isolation from the rest of content, which made top unreachable. Task-2973866 closes odoo/odoo#99865 X-original-commit: 9f4495aa065da5e94d6ccd007c9f26b7d755f140 Signed-off-by: Sébastien Theys (seb) Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/components/dialog/dialog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/components/dialog/dialog.xml b/addons/mail/static/src/components/dialog/dialog.xml index 454d46bdf64..aff8b01b701 100644 --- a/addons/mail/static/src/components/dialog/dialog.xml +++ b/addons/mail/static/src/components/dialog/dialog.xml @@ -3,7 +3,7 @@ -
+