From 329fc12c890f7e1c52895a0d79fba1cd8c1d5ad9 Mon Sep 17 00:00:00 2001 From: "Adrien Minne (adrm)" Date: Tue, 7 Feb 2023 13:16:35 +0000 Subject: [PATCH] [FIX] mail: fix y overflow in chatter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some font families, there was an y overflow and a scrollbar in the chatter when inserting an @mention. This was because the font height + the padding of `a.o_mail_redirect` was greater than the line height. Added an `overflow-y: hidden;` in the css to fix the issue. closes odoo/odoo#112153 X-original-commit: 3a40fa55919b5a4befc93beaf212521b61f15085 Signed-off-by: Sébastien Theys (seb) --- addons/mail/static/src/components/message/message.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mail/static/src/components/message/message.scss b/addons/mail/static/src/components/message/message.scss index 4a6db5101e1..4033cc29d58 100644 --- a/addons/mail/static/src/components/message/message.scss +++ b/addons/mail/static/src/components/message/message.scss @@ -25,6 +25,7 @@ // may impact the bullet point (at least it does on Safari). max-width: 100%; overflow-x: auto; + overflow-y: hidden; // overflow: auto can break rendering of next element of a frequent broken Outlook 365 // warning table. If detected, we prevent the issue by removing flotation.