From 80c00af329b9edea33f388dacb3e4da74bdc579b Mon Sep 17 00:00:00 2001 From: Pierre Paridans Date: Fri, 21 Feb 2020 14:05:07 +0000 Subject: [PATCH] [FIX] mail: overflow in the attachment box The chatter's attachment box has an horizontal overflow when adding at least 1 attachment. This is due to a negative margin applied on the attachment list/previews not matching its container's padding (3px vs 5px). This commit reuses the SCSS variable dedicated to this margin around the attachment list/previews and apply it correctly to the chatter's attachment box. Task ID: 2194025 X-original-commit: 3a7eb3fe97541855ae893514f8b98cbfe6c1a7e4 --- addons/mail/static/src/scss/attachment_box.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/scss/attachment_box.scss b/addons/mail/static/src/scss/attachment_box.scss index 2fbff3c2386..7008fcce61e 100644 --- a/addons/mail/static/src/scss/attachment_box.scss +++ b/addons/mail/static/src/scss/attachment_box.scss @@ -4,7 +4,7 @@ min-height: 50px; .o_chatter_attachment { - padding: 3px; + padding: $o-attachment-margin; input.o_input_file { position: absolute;