diff --git a/app/views/email/template.html.erb b/app/views/email/template.html.erb index 7d62724db29..fc2c2a225d9 100644 --- a/app/views/email/template.html.erb +++ b/app/views/email/template.html.erb @@ -1,24 +1,13 @@ - +
- + + + +
- -
- - - - - - - -
- - -
- <%= raw(html_body) %> -
-
- - -
+ + +
+ <%= raw(html_body) %> +
diff --git a/lib/email_styles.rb b/lib/email_styles.rb index 1deb8d24937..20aed22b69e 100644 --- a/lib/email_styles.rb +++ b/lib/email_styles.rb @@ -12,7 +12,7 @@ class EmailStyles fragment = Nokogiri::HTML.fragment(@html) fragment.css('h3').each do |h3| - h3['style'] = 'margin-bottom: 20px; background-color: #eee; padding: 10px; border: 1px solid #ddd;' + h3['style'] = 'margin: 15px 0 20px 0; border-bottom: 1px solid #ddd;' end fragment.css('hr').each do |hr|