From e60949bc559ceed690b49acc516b1944a7979412 Mon Sep 17 00:00:00 2001 From: Antoine Guenet Date: Thu, 16 Dec 2021 12:57:23 +0000 Subject: [PATCH] [FIX] mass_mailing: properly select text color based on background When changing a mailing's background color to black, the text of many snippets would change to white, even though the mailing's body was white. This was because said body was applied in css while the mailing's body was applied with a class that also set the text's color. This fixes that issue by applying the white background on the body via such a class rather that via css. task-2711643 closes odoo/odoo#81549 X-original-commit: 31abb63fca22c73b85912eb9ba2cf08806aab679 Signed-off-by: David Monjoie (dmo) Signed-off-by: Antoine Guenet --- addons/mass_mailing/data/mass_mailing_demo.xml | 2 +- addons/mass_mailing/static/src/js/mass_mailing_widget.js | 2 +- addons/mass_mailing/static/src/scss/themes/theme_default.scss | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/mass_mailing/data/mass_mailing_demo.xml b/addons/mass_mailing/data/mass_mailing_demo.xml index 540936c5c4d..c331cf850e6 100644 --- a/addons/mass_mailing/data/mass_mailing_demo.xml +++ b/addons/mass_mailing/data/mass_mailing_demo.xml @@ -89,7 +89,7 @@
-
+