]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_banner.html.erb
Bump eslint from 8.45.0 to 8.46.0
[rails.git] / app / views / layouts / _banner.html.erb
index 6a62e1944b61d6ed3da5bf2fde369ed29903b6f4..f806201eb8ff929eedc11585370ff904c42c3ecf 100644 (file)
@@ -1,4 +1,4 @@
 <% unless (banner = next_banner()).nil? %>
 <%= link_to (image_tag banner[:img], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %>
-<div class="close-wrap" id="<%= cookie_id(banner[:id]) %>"><span class="icon close"></span></div>
+<button type="button" class="btn-close position-absolute top-0 end-0 p-4" id="<%= banner_cookie(banner[:id]) %>" aria-label="<%= t("javascripts.close") %>"></button>
 <% end %>