Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove hr-tag as it blowed up iOS mails and show a border instead

Henriette Darge2604d2dd1f5c
diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb
index 7fad74a781d..b736923f500 100644
--- a/app/views/layouts/mailer.html.erb
+++ b/app/views/layouts/mailer.html.erb
@@ -74,6 +74,9 @@ See COPYRIGHT and LICENSE files for more details.
max-width: 700px;
margin-left: auto;
margin-right: auto;
+ border-top-width: 1px;
+ border-top-color: #ccc;
+ border-top-style: solid;
}
a.user-mention:before {
content: '@';
@@ -95,7 +98,6 @@ See COPYRIGHT and LICENSE files for more details.
<%= call_hook(:view_layouts_mailer_html_before_content, self.assigns) %>
<%= yield %>
<%= call_hook(:view_layouts_mailer_html_after_content, self.assigns) %>
- <hr />
<table class="footer">
<tr>
<td>