]> git.openstreetmap.org Git - rails.git/commitdiff
Remove <picture> from logo
authorAnton Khorev <tony29@yandex.ru>
Mon, 2 Oct 2023 01:12:47 +0000 (04:12 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 2 Oct 2023 01:12:47 +0000 (04:12 +0300)
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>