summaryrefslogtreecommitdiff
path: root/addons/mail/static
diff options
context:
space:
mode:
authorThanh Dodeur <tso@odoo.com>2021-01-14 12:41:36 +0000
committerThanh Dodeur <tso@odoo.com>2021-01-15 10:02:56 +0000
commitf5e3bbd4e9b8f1911ee10efe5c576fe84461c8b4 (patch)
treea739824841d67b5ab33b82ec4f61cac69446374e /addons/mail/static
parent9a8ebcc7cb05572681444ddb2511ccea4cee5565 (diff)
[FIX] mail: prevents excessive extension of the width of the chatter
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#64542 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/mail/static')
-rw-r--r--addons/mail/static/src/components/chatter/chatter.scss1
-rw-r--r--addons/mail/static/src/components/chatter_container/chatter_container.scss1
2 files changed, 2 insertions, 0 deletions
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 {