From e27a2c84959499608e0a7544a79dc465e0d78e3a Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 2 Apr 2025 07:21:33 +0300 Subject: [PATCH] Account for slight differences in button and spinner heights --- app/assets/javascripts/index/history.js | 2 +- app/views/changesets/index.html.erb | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index 76a2e9b4b..47b8d098d 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -173,7 +173,7 @@ OSM.History = function (map) { const div = $(this).parents(".changeset_more"); - $(this).closest(".pagination").hide(); + $(this).closest(".pagination").addClass("invisible"); div.find(".loader").show(); const data = new URLSearchParams(); diff --git a/app/views/changesets/index.html.erb b/app/views/changesets/index.html.erb index 865d88043..b906ebdef 100644 --- a/app/views/changesets/index.html.erb +++ b/app/views/changesets/index.html.erb @@ -1,15 +1,15 @@ <% if @newer_changesets_id %>
+
+
+ <%= t("browse.start_rjs.loading") %> +
+
-
-
- <%= t("browse.start_rjs.loading") %> -
-
<% end %> <% if @changesets.present? %> @@ -25,15 +25,15 @@ <% end %> <% if @older_changesets_id -%>
+
+
+ <%= t("browse.start_rjs.loading") %> +
+
-
-
- <%= t("browse.start_rjs.loading") %> -
-
<% end -%> -- 2.39.5