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

Attempt to limit the logo with for gmail accounts

Henriette Darge0acb42e83b2b
diff --git a/app/views/mailer/_notification_mailer_header.html.erb b/app/views/mailer/_notification_mailer_header.html.erb
index 45b02bbf6f2..93a58f5357a 100644
--- a/app/views/mailer/_notification_mailer_header.html.erb
+++ b/app/views/mailer/_notification_mailer_header.html.erb
@@ -51,8 +51,8 @@
<td style="vertical-align: top;">
<table <%= placeholder_table_styles %>>
<tr>
- <td style="width: 96px; height: 96px;">
- <%= logo_tag(alt: "#{Setting.app_title} #{I18n.t(:'mail.logo_alt_text')}", style: "width: 96px;max-width: 240px;max-height: 96px;") %>
+ <td style="width: 96px; height: 96px; max-width: 96px;">
+ <%= logo_tag(alt: "#{Setting.app_title} #{I18n.t(:'mail.logo_alt_text')}", style: "width: 96px;max-width: 96px;max-height: 96px;") %>
</td>
</tr>
</table>