mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: remove table wrapping posts in notification emails
This commit is contained in:
parent
6a3c20561a
commit
59922ce0a4
@ -1,7 +1,4 @@
|
|||||||
<table class='post-wrapper <%= post.whisper? ? "whisper" : "" %> <%= use_excerpt ? "excerpt" : ""%>'>
|
<div class='post-wrapper <%= post.whisper? ? "whisper" : "" %> <%= use_excerpt ? "excerpt" : ""%>'>
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='user-avatar'>
|
<td class='user-avatar'>
|
||||||
@ -22,10 +19,5 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
<div class='body'><%= format_for_email(post, use_excerpt) %></div>
|
||||||
</tr>
|
</div>
|
||||||
<tr>
|
|
||||||
<td class='body'><%= format_for_email(post, use_excerpt) %></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
@ -92,8 +92,8 @@ module Email
|
|||||||
style('.user-avatar img', nil, width: '45', height: '45')
|
style('.user-avatar img', nil, width: '45', height: '45')
|
||||||
style('hr', 'background-color: #ddd; height: 1px; border: 1px;')
|
style('hr', 'background-color: #ddd; height: 1px; border: 1px;')
|
||||||
style('.rtl', 'direction: rtl;')
|
style('.rtl', 'direction: rtl;')
|
||||||
style('td.body', 'padding-top:5px;', colspan: "2")
|
style('div.body', 'padding-top:5px;')
|
||||||
style('.whisper td.body', 'font-style: italic; color: #9c9c9c;')
|
style('.whisper div.body', 'font-style: italic; color: #9c9c9c;')
|
||||||
style('.lightbox-wrapper .meta', 'display: none')
|
style('.lightbox-wrapper .meta', 'display: none')
|
||||||
correct_first_body_margin
|
correct_first_body_margin
|
||||||
correct_footer_style
|
correct_footer_style
|
||||||
|
Loading…
Reference in New Issue
Block a user