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

Move Type into the same cell as the subject so that they can wrap as one element

Henriette Darge58db8695795f
diff --git a/app/views/mailer/_notification_row.html.erb b/app/views/mailer/_notification_row.html.erb
index b8f4789e8aa..40917f65e31 100644
--- a/app/views/mailer/_notification_row.html.erb
+++ b/app/views/mailer/_notification_row.html.erb
@@ -67,11 +67,10 @@
<td>
<table <%= placeholder_table_styles(style: 'font-size:16px;font-weight:bold') %>>
<tr>
- <td style="color: <%= type_color(work_package.type, '#333333') %>;white-space: nowrap;">
- <%= work_package.type.to_s.upcase %>
- </td>
- <%= placeholder_cell('4px', vertical: true) %>
<td width="100%" style="color: #333333;">
+ <span style="color: <%= type_color(work_package.type, '#333333') %>;white-space: nowrap;">
+ <%= work_package.type.to_s.upcase %>
+ </span>
<%= work_package.subject %>
</td>
</tr>