From 21b366633a27e494ebcae68fec76793a49f5db89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Mon, 10 Jan 2022 16:51:07 +0000 Subject: [PATCH] [FIX] mail: consistent padding of attachment image/card in chatter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, attachments in attachment box (chatter) had no left padding. Mistakenly introduced by https://github.com/odoo/odoo/pull/80060 which changes classname passing from parent component to child component with `t-attf-class`. AttachmentCard and AttachmentImage components did not `t-attf-class` not on root node, which caused the broken style that this commit fixes. closes odoo/odoo#82515 X-original-commit: 429bcbcaad5164e9ecf6f518d4e5b0d1ada0bc4a Signed-off-by: Sébastien Theys (seb) Signed-off-by: Alexandre Kühn (aku) --- .../static/src/components/attachment_card/attachment_card.xml | 3 +-- .../src/components/attachment_image/attachment_image.xml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/addons/mail/static/src/components/attachment_card/attachment_card.xml b/addons/mail/static/src/components/attachment_card/attachment_card.xml index d092f64832f..a69bbc5698f 100644 --- a/addons/mail/static/src/components/attachment_card/attachment_card.xml +++ b/addons/mail/static/src/components/attachment_card/attachment_card.xml @@ -1,10 +1,9 @@ -
+
-
+