Tweaked cell padding
authorHerve Saint-Amand <git@saintamh.org>
Sat, 31 Dec 2016 00:14:24 +0000 (00:14 +0000)
committerHerve Saint-Amand <git@saintamh.org>
Sat, 31 Dec 2016 00:14:24 +0000 (00:14 +0000)
Tweaked cell padding to align the top of the avatar and of the message text a bit better.

app/views/notifier/changeset_comment_notification.html.erb

index 752f6c0..8895f83 100644 (file)
                       </p>
                       <table style="font-size: 15px; font-style: italic; margin: 15px; background-color: #eee; width: 520px">
                         <tr>
-                          <td style="width: 50px; vertical-align: top; padding: 10px">
+                          <td style="width: 50px; vertical-align: top; padding: 15px">
                             <a href="<%= @commenter_url %>" target="_blank"><%= image_tag attachments["avatar.png"].url, alt: @commenter %></a>
                           </td>
-                          <td style="text-align: left; vertical-align: top; padding: 10px">
+                          <td style="text-align: left; vertical-align: top; padding-right: 10px">
                             <%= @comment.to_html %>
                           </td>
                         </tr>