]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/error.html.erb
Use flex layout on error pages
[rails.git] / app / views / layouts / error.html.erb
index 435de3015346f97b9c8a72c1ff204acf0ba3ac4c..40b116aa8b12f60e5d85704ec4728253bb3ffcc2 100644 (file)
@@ -7,11 +7,13 @@
     <%= render :partial => "layouts/meta" %>
   </head>
   <body>
-    <a href="<%= root_path %>">
-      <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
-    </a>
-    <div class="details">
-      <%= yield %>
-    </div>
+    <main>
+      <a href="<%= root_path %>" class="logo">
+        <%= image_tag "osm_logo.svg", :alt => t("layouts.logo.alt_text") %>
+      </a>
+      <div class="details">
+        <%= yield %>
+      </div>
+    </main>
   </body>
 </html>