Vote #76996
完了Larger font for email notifications
0%
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