From 9be73fd08749459e8dd7861ccf5e7cc83e8a156e Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Tue, 17 May 2022 11:52:19 +0000 Subject: [PATCH] [IMP] mass_mailing: remove negative margin on iframe When the first snippet in a mail is for example a cover image, the html2canvas library exports the image with a white line along the top caused by the negative top margin on the iframe. task-2856858 Part-of: odoo/odoo#91314 --- addons/mass_mailing/static/src/scss/mass_mailing.ui.scss | 5 ----- 1 file changed, 5 deletions(-) diff --git a/addons/mass_mailing/static/src/scss/mass_mailing.ui.scss b/addons/mass_mailing/static/src/scss/mass_mailing.ui.scss index 0f67603a019..008a8631c25 100644 --- a/addons/mass_mailing/static/src/scss/mass_mailing.ui.scss +++ b/addons/mass_mailing/static/src/scss/mass_mailing.ui.scss @@ -344,9 +344,4 @@ body.editor_enable.o_basic_theme.o_in_iframe { .note-editable { padding: 0; } - - //this will display the editor wrapper and the snippets at the same level - .iframe-editor-wrapper { - margin-top: -2px; - } }