]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/_message_body.html.erb
Merge remote-tracking branch 'upstream/pull/1973'
[rails.git] / app / views / notifier / _message_body.html.erb
index cf81340eb7d089ef3749a926161a56fb6c69f17d..38f4917993b8c40dbf1ad2afb52a1a7eaba4ec75 100644 (file)
@@ -1,6 +1,6 @@
-<table style="font-size: 15px; font-style: italic; margin: 15px 0px; background-color: #eee; width: 550px">
+<table style="font-size: 15px; margin: 15px 0px; background-color: #eee; width: 100%">
   <tr>
-    <td style="width: 50px; vertical-align: top; padding: 15px">
+    <td style="width: 50px; min-width: 50px; vertical-align: top; padding: 15px">
       <%= link_to(
           image_tag(
             attachments["avatar.png"].url,
             height: 50,
             border: 0
           ),
-          user_url(@author, :host => SERVER_URL),
+          user_url(@author),
           :target => "_blank"
       ) %>
     </td>
-    <td style="text-align: left; vertical-align: top; padding-right: 10px">
+    <td style="text-align: left; vertical-align: top; padding-right: 10px; width: 100%">
       <%= body %>
     </td>
   </tr>