From: Anton Khorev Date: Sat, 8 Mar 2025 13:44:08 +0000 (+0300) Subject: Fix comments/changes counts wrapping on history pages X-Git-Tag: live~28^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/39b459422dc705a3a4f37759558a41e922a2967f?ds=inline;hp=--cc Fix comments/changes counts wrapping on history pages --- 39b459422dc705a3a4f37759558a41e922a2967f diff --git a/app/views/changesets/_changeset.html.erb b/app/views/changesets/_changeset.html.erb index 2c6809763..923f869cf 100644 --- a/app/views/changesets/_changeset.html.erb +++ b/app/views/changesets/_changeset.html.erb @@ -4,15 +4,15 @@ <%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %>

-
-
+
+
<%= changeset_details(changeset) %> · #<%= changeset.id %>
-
+
<%= tag.div :class => ["d-flex align-items-baseline gap-1", { "opacity-50" => changeset.comments.empty? }], :title => t(".comments", :count => changeset.comments.length) do %> <%= changeset.comments.length %>