From b70ac725f9ee5c878c9b41b8eb65e4f054524ff3 Mon Sep 17 00:00:00 2001 From: Thanh Dodeur Date: Thu, 14 Jan 2021 12:41:36 +0000 Subject: [PATCH] [FIX] mail: prevents excessive extension of the width of the chatter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, messages in the chatter that contained non wrapping content could indefinitely extend the width of the chatter. opw-2425351 closes odoo/odoo#64608 X-original-commit: f5e3bbd4e9b8f1911ee10efe5c576fe84461c8b4 Signed-off-by: Sébastien Theys (seb) --- addons/mail/static/src/components/chatter/chatter.scss | 1 + .../src/components/chatter_container/chatter_container.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/addons/mail/static/src/components/chatter/chatter.scss b/addons/mail/static/src/components/chatter/chatter.scss index ee4c00855b4..d722e03b93b 100644 --- a/addons/mail/static/src/components/chatter/chatter.scss +++ b/addons/mail/static/src/components/chatter/chatter.scss @@ -7,6 +7,7 @@ display: flex; flex: 1 1 auto; flex-direction: column; + width: map-get($sizes, 100); } .o_Chatter_composer { diff --git a/addons/mail/static/src/components/chatter_container/chatter_container.scss b/addons/mail/static/src/components/chatter_container/chatter_container.scss index 623f902eaf7..8cd51580ec9 100644 --- a/addons/mail/static/src/components/chatter_container/chatter_container.scss +++ b/addons/mail/static/src/components/chatter_container/chatter_container.scss @@ -5,6 +5,7 @@ .o_ChatterContainer { display: flex; flex: 1 1 auto; + width: map-get($sizes, 100); } .o_ChatterContainer_noChatter {