FIX: apply style formatting on post notification emails

This commit is contained in:
Arpit Jalan 2016-06-17 15:06:44 +05:30
parent cdfe2b8144
commit a4a53d6500
2 changed files with 1 additions and 4 deletions

View File

@ -23,7 +23,7 @@
</td>
</tr>
<tr>
<td class='body'><%= format_for_email(post, use_excerpt) %></td>
<td class='body'><%= format_for_email(post, use_excerpt, :notification) %></td>
</tr>
</tbody>
</table>

View File

@ -110,9 +110,6 @@ module Email
style('aside.quote div.info-line', 'color: #666; margin: 10px 0')
style('aside.quote .avatar', 'margin-right: 5px; width:20px; height:20px')
# regular post quotes
style('aside .title', 'border-left: 5px solid #e9e9e9; background-color: #f8f8f8; margin: 0; padding-left: 1em; padding-top: 10px;')
style('aside .title img', 'margin-left: 5px;')
style('blockquote', 'border-left: 5px solid #e9e9e9; background-color: #f8f8f8; margin: 0;')
style('blockquote > p', 'padding: 1em;')