]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/_message_body.html.erb
Set border=0 on that img
[rails.git] / app / views / notifier / _message_body.html.erb
index 29ecf9ea89f7fb4252f5a6cb0f4df54acefb656c..d86d44133e091555908f29a7af6e20317b0912d8 100644 (file)
@@ -1,11 +1,14 @@
-<table style="font-size: 15px; font-style: italic; margin: 15px; background-color: #eee; width: 520px">
+<table style="font-size: 15px; font-style: italic; margin: 15px 0px; background-color: #eee; width: 520px">
   <tr>
     <td style="width: 50px; vertical-align: top; padding: 15px">
       <%= link_to(
           image_tag(
             attachments["avatar.png"].url,
             alt: @author,
   <tr>
     <td style="width: 50px; vertical-align: top; padding: 15px">
       <%= link_to(
           image_tag(
             attachments["avatar.png"].url,
             alt: @author,
-            title: @author
+            title: @author,
+            width: 50,
+            height: 50,
+            border: 0
           ),
           user_url(@author, :host => SERVER_URL),
           :target => "_blank"
           ),
           user_url(@author, :host => SERVER_URL),
           :target => "_blank"