]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4269'
authorTom Hughes <tom@compton.nu>
Mon, 2 Oct 2023 17:53:14 +0000 (18:53 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 2 Oct 2023 17:53:14 +0000 (18:53 +0100)
app/views/layouts/_header.html.erb

index fd2ae0a4a512b93bd95d32d7d46116a595828e26..8ff04536d19b6d4cbe99f41117b1448538c619f8 100644 (file)
@@ -1,10 +1,7 @@
 <header class="closed clearfix">
   <h1>
     <a href="<%= root_path %>" class="geolink">
-      <picture>
-        <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml" />
-        <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
-      </picture>
+      <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
       <%= t "layouts.project_name.h1" %>
     </a>
   </h1>