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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
increase font-sizes to a minimum of 14px to avoid iOS doing its own "optimisations" and increasing the fonts randomly (taken from https://monsterspost.com/render-emails-perfectly-different-email-clients/)
Henriette Darge1ec79d11ab00
diff --git a/app/views/digest_mailer/work_packages.html.erb b/app/views/digest_mailer/work_packages.html.erbindex 1ad0b2bbabc..4be207ef33f 100644--- a/app/views/digest_mailer/work_packages.html.erb+++ b/app/views/digest_mailer/work_packages.html.erb@@ -12,7 +12,7 @@<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size: 12px;"><% notifications_by_work_package.each do | notification | %><% if notification.journal.notes.present? %>- <tr style="color: #878787; line-height: 20px; white-space: nowrap; font-size: 12px;">+ <tr style="color: #878787; line-height: 20px; white-space: nowrap; font-size: 14px;"><td><%= digest_comment_text(notification) %><%= digest_notification_timestamp_text(notification) %>@@ -20,7 +20,7 @@</tr><% end %><% notification.journal.details.each do |detail| %>- <tr style="color: #878787; line-height: 20px; font-size: 12px;">+ <tr style="color: #878787; line-height: 20px; font-size: 14px;"><td><%= notification.journal.render_detail(detail, only_path: false) %><%= digest_notification_timestamp_text(notification) %>@@ -36,7 +36,7 @@<tr><td width="100%"><% if @aggregated_notifications.length > DigestMailer::MAX_SHOWN_WORK_PACKAGES %>- <span style="line-height: 25px">+ <span style="font-size: 14px; line-height: 28px"><% number_of_overflowing_work_packages = @aggregated_notifications.length - DigestMailer::MAX_SHOWN_WORK_PACKAGES %><% if number_of_overflowing_work_packages === 1 %><%= I18n.t(:'mail.digests.work_packages.more_to_see_singular') %>diff --git a/app/views/mailer/_notification_mailer_header.html.erb b/app/views/mailer/_notification_mailer_header.html.erbindex f8d743b59b1..6237f0abd03 100644--- a/app/views/mailer/_notification_mailer_header.html.erb+++ b/app/views/mailer/_notification_mailer_header.html.erb@@ -11,7 +11,7 @@</td></tr><tr>- <td style="font-size:14px; color: #1A67A3; font-weight: bold; padding-bottom: 10px;">+ <td style="font-size:16px; color: #1A67A3; font-weight: bold; padding-bottom: 10px;"><%= summary %></td></tr>diff --git a/app/views/mailer/_notification_row.html.erb b/app/views/mailer/_notification_row.html.erbindex 2129bfea414..dde1a237f0e 100644--- a/app/views/mailer/_notification_row.html.erb+++ b/app/views/mailer/_notification_row.html.erb@@ -6,14 +6,14 @@display: block;"href="<%= notifications_path(work_package.id) %>"target="_blank">- <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-bottom: 9px; font-size: 12px;">+ <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-bottom: 9px; font-size: 14px;"><tr><td ><div style="color: #333333;background-color: #FFFFFF;<%= status_colors(work_package.status) %>white-space: nowrap;- padding: 0 5px;+ padding: 2px 12px;height: 16px;"><%= work_package.status %></div>@@ -35,14 +35,14 @@<span style="background-color: #00A3FF;color: white;border-radius: 8px;- padding: 2px 7px;- font-size: 10px;">+ padding: 0px 8px;+ font-size: 14px;"><%= notifications_by_work_package.length %></span></td></tr></table>- <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-bottom: 9px; font-size: 14px; font-weight: bold;">+ <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-bottom: 9px; font-size: 16px; font-weight: bold;"><tr><td style="color: <%= type_color(work_package.type, '#333333') %>;white-space: nowrap;">