]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/_message_body.html.erb
Fix styling of email notifications in RTL languages
[rails.git] / app / views / notifier / _message_body.html.erb
index f8a4e262127b06f86ba801bffa2ba801933ffd10..d572fb9d0a79e92e7486b56218d63792295b0116 100644 (file)
@@ -14,7 +14,7 @@
             :target => "_blank", :rel => "noopener"
           ) %>
     </td>
-    <td style="text-align: left; vertical-align: top; padding-right: 10px; width: 100%">
+    <td style="text-align: <%= style_left %>; vertical-align: top; padding-<%= style_right %>: 10px; width: 100%">
       <%= body %>
     </td>
   </tr>