From c99f652aa9fdcc426d73909a4c2ee51c53540410 Mon Sep 17 00:00:00 2001 From: Antoine Guenet Date: Thu, 3 Feb 2022 14:30:09 +0000 Subject: [PATCH] [FIX] mass_mailing: apply mail-safe font on everything The final mail to be sent will have to use a mail-safe font everywhere so we can't allow other fonts to be applied in some elements. Because of the way the css was declared, we still had other fonts on some elements, like .btn. As a result, we had a different look between readonly and edit modes. X-original-commit: bde0dbe9a4ade4ec0fe1a5b44fc64e5d484ac49e Part-of: odoo/odoo#84513 --- addons/mass_mailing/views/assets.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mass_mailing/views/assets.xml b/addons/mass_mailing/views/assets.xml index 3897ef499f4..29349be5326 100644 --- a/addons/mass_mailing/views/assets.xml +++ b/addons/mass_mailing/views/assets.xml @@ -22,7 +22,7 @@ * { box-sizing: border-box !important; } - * h1, h2, h3, h4, h5, h6, p, td, th, div { + .o_layout :not(.fa) { font-family: Arial, sans-serif !important; } /* Remove space around the email design. */