X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c57d2b29fc1f4647b460b6b74d072c409932e3f2..05beafb2f336a7ce6d22179b1270c299e6d52632:/app/views/layouts/notifier.html.erb?ds=sidebyside diff --git a/app/views/layouts/notifier.html.erb b/app/views/layouts/notifier.html.erb index dd041cca5..883f1b385 100644 --- a/app/views/layouts/notifier.html.erb +++ b/app/views/layouts/notifier.html.erb @@ -5,17 +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 %> + + + -
+ - @@ -32,9 +36,10 @@
- <%= image_tag attachments["logo.png"].url, alt: "OpenStreetMap logo", title: "OpenStreetMap", height: "30", width: "30", border: "0" %> + <%= image_tag attachments["logo.png"].url, alt: "OpenStreetMap", title: "OpenStreetMap", height: "30", width: "30", border: "0" %> + <%# the "width: 100%" here looks wrong, but I couldn't find a better way of making Outlook give this cell full width %> + + <%# NB we need "text-decoration: none" twice: GMail only honours it on the but Outlook only on the %> -

OpenStreetMap

+ OpenStreetMap
+ <%= yield :footer %>

OpenStreetMap