mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 04:52:45 +08:00
tighten spacing on digest email
This commit is contained in:
parent
e77dbbacea
commit
9b363d6df7
|
@ -94,13 +94,13 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
|
|||
<table style="width:100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="margin:0;padding:0 8px 16px 16px;text-align:left;vertical-align:top;">
|
||||
<p style="color:#8f8f8f;line-height:1.3;margin: 20px 0 10px 0;">
|
||||
<td style="margin:0;padding:0 0 0 16px;text-align:left;vertical-align:top;">
|
||||
<p style="color:#8f8f8f;line-height:1.3;margin: 20px 0 0 0;">
|
||||
<%= category_badge(t.category, inline_style: true, absolute_url: true) %>
|
||||
</p>
|
||||
</td>
|
||||
<td style="margin:0;padding: 0 16px 16px 8px;text-align:right;vertical-align:top;">
|
||||
<p class="text-right" style="color:#8f8f8f;line-height:1.3;margin:20px 0 10px 0;font-weight:400;">
|
||||
<td style="margin:0;padding: 0 16px 0 0;text-align:right;vertical-align:top;">
|
||||
<p class="text-right" style="color:#8f8f8f;line-height:1.3;margin:20px 0 0 0;font-weight:400;">
|
||||
<%= short_date(t.created_at) %>
|
||||
</p>
|
||||
</td>
|
||||
|
@ -219,7 +219,7 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
|
|||
<table style="background-color: #f3f3f3; width: 100%;">
|
||||
<tr>
|
||||
<td>
|
||||
<h1 style="color:#0a0a0a;font-size:28px;font-weight:400;line-height:1.3; padding: 30px 0 10px 0;text-align:center;">
|
||||
<h1 style="color:#0a0a0a;font-size:28px;line-height:1.3;text-align:center;">
|
||||
<%=t 'user_notifications.digest.popular_posts' %>
|
||||
</h1>
|
||||
</td>
|
||||
|
@ -304,7 +304,7 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
|
|||
<!-- Begin new topic -->
|
||||
<tr style="vertical-align:top;">
|
||||
<td style="padding:20px 8px 0 16px;text-align:left;">
|
||||
<p style="background:#2F70AC;border-radius:50%;color:#fff;height:30px;line-height:30px;margin:0 0 10px 0;padding:0;text-align:center;width:30px;font-weight: 400;">
|
||||
<p style="background:#2F70AC;border-radius:50%;color:#fff;height:30px;line-height:30px;margin:0 0 10px 0;padding:0;text-align:center;width:30px;">
|
||||
<%= t.user_data ? (t.highest_post_number - (t.user_data.last_read_post_number || 0)) : t.highest_post_number %>
|
||||
</p>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user