]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_banner.html.erb
Make the close icon on banners more visible
[rails.git] / app / views / layouts / _banner.html.erb
index 298135f45c7ad295f59f42a5d5437ef04d7c5780..4f24f538d6889eb0ad6729713234c3175e743479 100644 (file)
@@ -1,4 +1,4 @@
 <% unless (banner = next_banner()).nil? %>
 <%= link_to (image_tag banner[:img], :srcset => banner[:srcset], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %>
-<button type="button" class="btn-close <%= "btn-close-white" if banner[:dark] %> position-absolute top-0 end-0 p-4" id="<%= banner_cookie(banner[:id]) %>" aria-label="<%= t("javascripts.close") %>"></button>
+<button type="button" class="btn-close <%= "btn-close-white" if banner[:dark] %> position-absolute top-0 end-0 m-4" id="<%= banner_cookie(banner[:id]) %>" aria-label="<%= t("javascripts.close") %>"></button>
 <% end %>