From e1b85e79ee4d990e8c4a299175f8310aafacb915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Tue, 4 Jul 2023 14:26:16 +0000 Subject: [PATCH] [FIX] mail: show tracking value changed messages on different lines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, a tracking value message was displayed on a single line instead of several lines. The parts of the content of message with tracking values changes were wrapping on multiple line. This happens because the content of message had `d-flex`, which affects notably tracking values that have this DOM shape: ```xml

Stage changed

``` Because of `d-flex`, `p` and `ul` were next to each other horizontally, and the `span` in `li` were wrapping to take responsive layout of `d-flex` into account. This commit fixes the issue by removing the `d-flex`. This is undesirable, as the content is HTMl and it should follow the intended design of the content. `p` and `ul` next to each other, without specifying custom `display`, should default to 2 `d-block` next to each other, so they must be on top of each other. closes odoo/odoo#127320 X-original-commit: c7df8a5fe0c3f785066800e77eef5a46246308dc Signed-off-by: Sébastien Theys (seb) --- addons/mail/static/src/core/common/message.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/core/common/message.xml b/addons/mail/static/src/core/common/message.xml index 79f88ef67a4..8660c13a82d 100644 --- a/addons/mail/static/src/core/common/message.xml +++ b/addons/mail/static/src/core/common/message.xml @@ -73,7 +73,7 @@ 'pe-2': env.inChatWindow and !isAlignedRight and composerViewInEditing, }" > -
+