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

Align email header with left hand border of the notification box

Henriette Dargee833a399aa1a
diff --git a/app/views/digest_mailer/work_packages.html.erb b/app/views/digest_mailer/work_packages.html.erb
index aa93f13d0aa..5983215a08b 100644
--- a/app/views/digest_mailer/work_packages.html.erb
+++ b/app/views/digest_mailer/work_packages.html.erb
@@ -6,6 +6,7 @@
<table <%= placeholder_table_styles(width:'100%',style: 'width:100%;max-width:700px;margin-left:auto;margin-right:auto') %>>
<tr>
+ <%= placeholder_cell('12px', vertical: true) %>
<td>
<%= render layout: 'mailer/notification_mailer_header',
locals: {
@@ -100,6 +101,6 @@
</tr>
</table>
</td>
+ <%= placeholder_cell('12px', vertical: true) %>
</tr>
</table>
-
diff --git a/app/views/mailer/_notification_mailer_header.html.erb b/app/views/mailer/_notification_mailer_header.html.erb
index 9262e55ab25..1b50cdf3510 100644
--- a/app/views/mailer/_notification_mailer_header.html.erb
+++ b/app/views/mailer/_notification_mailer_header.html.erb
@@ -3,7 +3,6 @@
<td>
<table <%= placeholder_table_styles %>>
<tr>
- <%= placeholder_cell('12px', vertical: true) %>
<td>
<table <%= placeholder_table_styles(width:'100%',style: "width:100%") %>>
<tr>
diff --git a/app/views/work_package_mailer/mentioned.html.erb b/app/views/work_package_mailer/mentioned.html.erb
index 13095bec5ea..737853edef9 100644
--- a/app/views/work_package_mailer/mentioned.html.erb
+++ b/app/views/work_package_mailer/mentioned.html.erb
@@ -6,6 +6,7 @@
<table <%= placeholder_table_styles(width:'100%',style: 'width:100%;max-width:700px;margin-left:auto;margin-right:auto') %>>
<tr>
+ <%= placeholder_cell('12px', vertical: true) %>
<td>
<%= render layout: 'mailer/notification_mailer_header',
locals: {
@@ -56,6 +57,6 @@
</tr>
</table>
</td>
+ <%= placeholder_cell('12px', vertical: true) %>
</tr>
</table>
-