From 6741ebdd62c43cf646cf8e20c1de135d694f8ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Mon, 5 Jun 2023 15:27:47 +0000 Subject: [PATCH] [FIX] mail: no size flicker on message hovering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Following https://github.com/odoo/odoo/pull/123266 that removes some vertical spacing between messages. The date text on squashed messages was increasing size of messages that fits on a single line. This commit fixes the issue by slightly reducing the size of date text in sidebar, so that when hovering messages it doesn't affect the size of messages. closes odoo/odoo#123799 X-original-commit: 454d250e6c88b09d616d4d3404204d57addf8b28 Signed-off-by: Sébastien Theys (seb) --- addons/mail/static/src/core_ui/message.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/mail/static/src/core_ui/message.scss b/addons/mail/static/src/core_ui/message.scss index f3f228cc0ff..4f60775c365 100644 --- a/addons/mail/static/src/core_ui/message.scss +++ b/addons/mail/static/src/core_ui/message.scss @@ -9,6 +9,10 @@ .o-mail-Message-sidebar { flex-basis: $o-mail-Message-sidebarWidth; max-width: $o-mail-Message-sidebarWidth; + + .o-mail-Message-date { + font-size: 0.75rem; + } } .o-mail-Message-avatarContainer {