]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/notifier.html.erb
Fix title alignment in Outlook/WindowsMail
[rails.git] / app / views / layouts / notifier.html.erb
index 8575424f2389d5662b6dcfcebba9fa8130fe2cad..62585e9383f8c8e8ae3676c09ce994afde1cd037 100644 (file)
@@ -8,12 +8,12 @@
         <td style="text-align: center">
           <table style="width: 600px; color: #222; margin-left: auto; margin-right: auto">
             <tr>
-              <td style="width: 30px; padding: 10px">
+              <td style="width: 30px; padding: 10px 10px 10px 0px">
                 <a href="<%= @root_url %>" target="_blank">
                   <%= image_tag attachments["logo.png"].url, alt: "OpenStreetMap logo", title: "OpenStreetMap", height: "30", width: "30", border: "0" %>
                 </a>
               </td>
-              <td style="padding: 10px 0px">
+              <td style="width: 550px; padding: 0px; text-align: left">
                 <a href="<%= @root_url %>" target="_blank" style="text-decoration: none; color: #000">
                   <h1 style="font-size: 18px; font-weight: 600; margin: 0; text-align: left">OpenStreetMap</h1>
                 </a>
@@ -24,7 +24,7 @@
                 <table style="background-color: #fff; color: #222; border: solid 1px #ccc; border-collapse: separate">
                   <tr>
                     <td style="text-align: left; padding: 0px 15px 5px 15px">
-                      <%= raw apply_inline_css(yield) %>
+                      <%= raw style_message(yield) %>
                     </td>
                   </tr>
                 </table>