]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/application/_sidebar_header.html.erb
Make close buttons stick to the top of scrolled areas
[rails.git] / app / views / application / _sidebar_header.html.erb
index 83b1ae1c5415c9a3ff22ccb7ad3472f311c68007..d24a0c5fa9d9a5d6ef810e9fcaec0286e67b73a3 100644 (file)
@@ -1,10 +1 @@
-<div class="d-flex w-100">
-  <div class="flex-grow-1 text-break">
-    <h2><%= title %></h2>
-  </div>
-  <div>
-    <a class="geolink" href="<%= root_path %>">
-      <button type="button" class="btn-close float-end mt-1"></button>
-    </a>
-  </div>
-</div>
+<h2 class="me-4 text-break"><%= title %></h2>