プロジェクト

全般

プロフィール

Vote #76996

完了

Larger font for email notifications

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Email notifications_9
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
9
version_id:
112
issue_org_id:
21487
author_id:
332
assigned_to_id:
1
comments:
11
status_id:
5
tracker_id:
3
plus1:
2
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Current font size 0.8em is too small and a little bit hard to read.
Please use larger font.


journals

GMail users see notifications without any style Before Redmine 3.2.0 (#8335). But with styles (Redmine 3.2.0), fonts are very small.

I usually use Japanese characters. We use thousands of characters and many of them have intricate shape so characters which are displayed in small font and light gray are illegible.

Please see the following example (That means "This is an example of Japanese text"). Some characters(11px) are obscured.

example:
!japanese-text-sample.png!
--------------------------------------------------------------------------------
+1 and... thanx! :)
--------------------------------------------------------------------------------
Updated the patch.

* darker black for text color.
* line-height for h1.

--------------------------------------------------------------------------------
Committed in r15026.
--------------------------------------------------------------------------------
+1 thank you Maeda-san

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
It seems that this patch (r15026) results in fonts too big in some email clients (tested in latest Zimbra Web Client 8.6.0 and latest Thunderbird 38.5.1). Could this issue be related to r14541 or r14540 or some other changes in *3.2.0*?

* With *Redmine 3.1.2* everything was fine in all clients (see attachment:redmine-3.1.2-thunderbird.png and attachment:redmine-3.1.2-zimbra.png)
* With vanilla *Redmine 3.2.0* everything is too small in Zimbra even though @mailer.html.erb@ is the same as in *3.1.2* (see attachment:redmine-3.2.0-zimbra.png)
* With the patch r15026 to @mailer.html.erb@ in *3.2.0* everything is too big in all clients (see attachment:redmine-3.2.0-thunderbird-patch21487.png and attachment:redmine-3.2.0-zimbra-patch21487.png)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Hugues C. wrote:
> It seems that this patch (r15026) results in fonts too big in some email clients (tested in latest Zimbra Web Client 8.6.0 and latest Thunderbird 38.5.1). Could this issue be related to r14541 or r14540 or some other changes in *3.2.0*?

Confirmed in Thunderbird. The following patch fixes the problem.

<pre><code class="diff">
Index: app/views/layouts/mailer.html.erb
===================================================================
--- app/views/layouts/mailer.html.erb (revision 15225)
+++ app/views/layouts/mailer.html.erb (working copy)
@@ -3,6 +3,7 @@
<style>
body {
font-family: Verdana, sans-serif;
+ font-size: 14px;
line-height: 1.45em;
color: #222;
}
</code></pre>
--------------------------------------------------------------------------------
I've committed this change and also reduced the heading font size a bit. Thanks.
--------------------------------------------------------------------------------


related_issues

relates,Closed,22006,Fonts too small in version 3.2.0

Admin Redmine さんが4年以上前に更新

  • カテゴリEmail notifications_9 にセット
  • 対象バージョン3.2.1_112 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0