Skip to content

A platform for community discussion. Free, open, simple.

DEV: prioritize new email styles over existing, to make customization easier (#30244)

Kris9694dc6cb05a
diff --git a/lib/email/styles.rb b/lib/email/styles.rb
index c378d0d7a05..59cc4d8794f 100644
--- a/lib/email/styles.rb
+++ b/lib/email/styles.rb
@@ -33,7 +33,7 @@ module Email
existing = node["style"]
if existing.present?
# merge styles
- node["style"] = "#{new_styles}; #{existing}"
+ node["style"] = "#{existing}; #{new_styles}"
else
node["style"] = new_styles
end