From 3cf5828af0adc6652db00374cc8d53c02bf83f10 Mon Sep 17 00:00:00 2001 From: tsm-odoo Date: Wed, 30 Nov 2022 13:12:23 +0000 Subject: [PATCH] [FIX] mail: chatter attachments overflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this PR, posting a message containing an attachment with a long name in the chatter would result in the chatter overflowing the main window. This is due to the fact that flex items cannot be smaller than their content. This PR fixes the issue by adding the `overflow-auto` class to the chatter container in order to override the default `min-width: auto` of flex items thus allowing them to be smaller. closes odoo/odoo#106927 X-original-commit: 73fb78e75b6126586385ea7621b6d71fae715305 Signed-off-by: Alexandre Kühn (aku) --- .../src/components/chatter_container/chatter_container.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/components/chatter_container/chatter_container.xml b/addons/mail/static/src/components/chatter_container/chatter_container.xml index ac333a37ff0..671a5137b63 100644 --- a/addons/mail/static/src/components/chatter_container/chatter_container.xml +++ b/addons/mail/static/src/components/chatter_container/chatter_container.xml @@ -2,7 +2,7 @@ -
+