X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/82a6bb0d5afb3013a1a91a84e129ebd5a0e7dc5f..d3d03a31776ed25d2fa38d069e72bd99c0914ed1:/app/views/layouts/notifier.html.erb diff --git a/app/views/layouts/notifier.html.erb b/app/views/layouts/notifier.html.erb index 1ab9493ba..21b4e35ce 100644 --- a/app/views/layouts/notifier.html.erb +++ b/app/views/layouts/notifier.html.erb @@ -5,19 +5,21 @@ -
- + <%# having width=100% on the table and then only a fixed width on the middle cell gives us a max-width that works in Outlook %> + + +
+ <%# the "width: 100%" here looks wrong, but I couldn't find a better way of making Outlook give this cell full width %> @@ -34,6 +36,7 @@
- <%= image_tag attachments["logo.png"].url, alt: "OpenStreetMap", title: "OpenStreetMap", height: "30", width: "30", border: "0" %> + <%= image_tag attachments["logo.png"].url, :alt => "OpenStreetMap", :title => "OpenStreetMap", :height => "30", :width => "30", :border => "0" %> <%# NB we need "text-decoration: none" twice: GMail only honours it on the but Outlook only on the %> - OpenStreetMap + OpenStreetMap