make counts fixed width for digest/summary
This commit is contained in:
parent
4d52682267
commit
3f3a0d7b14
|
@ -157,24 +157,24 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
|
|||
|
||||
<table style="padding:0;text-align:left;vertical-align:top;width:100%; margin-top:20px;">
|
||||
<tbody>
|
||||
<tr style="vertical-align:top;">
|
||||
<td style="padding:0 8px 16px 16px;text-align:left;white-space: nowrap;vertical-align: top;">
|
||||
<tr>
|
||||
<td style="padding:0 8px 16px 16px;text-align:left;white-space:nowrap;vertical-align:top;width:75px">
|
||||
<img src="<%= email_image_url 'heart.png' -%>" style="clear:both;display:inline-block;float:left;height:20px;margin:0;max-width:100%;opacity:.4;outline:0;text-decoration:none;width:auto">
|
||||
<p style="color:#8f8f8f;float:left;line-height:1.3;margin:0 5px 10px 5px;padding:0;text-align:left;font-weight:400;"><%= t.like_count -%></p>
|
||||
</td>
|
||||
<td style="padding:0 8px 16px 8px;text-align:left;white-space: nowrap;vertical-align: top;">
|
||||
<td style="padding:0 8px 16px 8px;text-align:left;white-space:nowrap;vertical-align:top;width:75px">
|
||||
<img src="<%= email_image_url 'comment.png' -%>" style="clear:none;display:inline-block;float:left;height:20px;margin:0;max-width:100%;opacity:.4;outline:0;text-decoration:none;width:auto">
|
||||
<p style="color:#8f8f8f;float:left;line-height:1.3;margin:0 5px 10px 5px;padding:0;text-align:left;font-weight:400;"><%= t.posts_count - 1 -%></p>
|
||||
</td>
|
||||
<td style="padding:0 8px 16px 8px;text-align:left;white-space: nowrap;vertical-align: top;">
|
||||
<td style="padding:0 8px 16px 8px;text-align:left;white-space:nowrap;vertical-align:top;">
|
||||
<% t.posters_summary.each do |ps| %>
|
||||
<% if ps.user %>
|
||||
<img src="<%= ps.user.small_avatar_url -%>" style="border-radius:50%;clear:both;display:inline-block;height:20px;width:20px;outline:0;text-decoration:none;">
|
||||
<% end %>
|
||||
<% end %>
|
||||
</td>
|
||||
<td style="line-height:1.3;padding:0 16px 0 8px;text-align:right;white-space: nowrap;vertical-align: top;">
|
||||
<a href="<%= Discourse.base_url_no_prefix + t.relative_url %>" style="width:100%;background-color:#2199e8;color:#fff;text-decoration:none;padding:8px 16px;white-space: nowrap;">
|
||||
<td style="line-height:1.3;padding:0 16px 0 8px;text-align:right;white-space:nowrap;vertical-align:top;">
|
||||
<a href="<%= Discourse.base_url_no_prefix + t.relative_url %>" style="width:100%;background-color:#2199e8;color:#fff;text-decoration:none;padding:8px 16px;white-space:nowrap;">
|
||||
<%=t 'user_notifications.digest.join_the_discussion' %>
|
||||
</a>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue