]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/application/_sidebar_header.html.erb
Style small auth buttons similarly to preferred auth buttons
[rails.git] / app / views / application / _sidebar_header.html.erb
index 5413b4205df1c4bb6584cb1ac9cfe3cb036c3a70..9e7877f8a41593c133cc7dd0c8e33b98bd3db688 100644 (file)
@@ -1,10 +1,6 @@
-<div class="d-flex w-100">
-  <div class="flex-grow-1 text-break">
-    <h2><%= title %></h2>
-  </div>
-  <div class="px-3 py-3">
-    <a class="geolink" href="<%= root_path %>">
-      <span class="icon close"></span>
-    </a>
+<div class="d-flex">
+  <h2 class="flex-grow-1 text-break"><%= title %></h2>
+  <div>
+    <button type="button" class="btn-close" aria-label="<%= t("javascripts.close") %>"></button>
   </div>
 </div>