summaryrefslogtreecommitdiff
path: root/addons/mass_mailing/static/src/less/themes/theme_default.less
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-02-13 12:04:51 +0100
committerqsm-odoo <qsm@odoo.com>2018-02-13 13:37:50 +0100
commit32bdadad1314360b1c5d4734435f481d2545bbf1 (patch)
tree26e003f57204155a7e191e3843a215b32db6576a /addons/mass_mailing/static/src/less/themes/theme_default.less
parent1a7f3c7335a95901f0a6fd34af796485b99b8380 (diff)
[FIX] web_editor, mass_mailing: better transcode alignment inheritance
Browsers' default alignement of <td/> is 'inherit'. Some mail clients do not set this value properly though and even if it is explicitely set, they do not compute the final value well. As a fix, this commit forces the 'inherit' value on <td/> and computes the real alignment for 'inherit' values when transcoding. opw-813688
Diffstat (limited to 'addons/mass_mailing/static/src/less/themes/theme_default.less')
-rw-r--r--addons/mass_mailing/static/src/less/themes/theme_default.less5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/mass_mailing/static/src/less/themes/theme_default.less b/addons/mass_mailing/static/src/less/themes/theme_default.less
index adfa4bba5ce..3bde380c89d 100644
--- a/addons/mass_mailing/static/src/less/themes/theme_default.less
+++ b/addons/mass_mailing/static/src/less/themes/theme_default.less
@@ -46,6 +46,11 @@
background-color: @o_mm_def_color_alpha;
}
+td {
+ // Default browser style but needed so that alignment works on some mail
+ // clients (see transcoder)
+ text-align: inherit;
+}
// ===== Layout =====
.o_layout {