From 68103d6fe9d2a92c2fa52681810dda72708789d2 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 1 Jul 2025 03:28:53 +0300 Subject: [PATCH] Decrease changeset comment bottom margin --- app/views/browse/_common_details.html.erb | 2 +- app/views/changesets/_changeset.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/browse/_common_details.html.erb b/app/views/browse/_common_details.html.erb index a745197db..33f1fc7fd 100644 --- a/app/views/browse/_common_details.html.erb +++ b/app/views/browse/_common_details.html.erb @@ -7,7 +7,7 @@ #<%= link_to_unless_current common_details.version, :controller => "old_#{@type.pluralize}", :action => :show, :version => common_details.version %> -

+

<% if common_details.changeset.tags["comment"].present? %> <%= linkify(common_details.changeset.tags["comment"]) %> <% else %> diff --git a/app/views/changesets/_changeset.html.erb b/app/views/changesets/_changeset.html.erb index c370df95b..47bcc9200 100644 --- a/app/views/changesets/_changeset.html.erb +++ b/app/views/changesets/_changeset.html.erb @@ -1,11 +1,11 @@ <%= tag.li :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data(changeset) }, :class => "list-group-item list-group-item-action" do %> -

+

<%= link_to changeset, :class => "changeset_id link-body-emphasis stretched-link" do %> <%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %> <% end %>

-
+
<%= changeset_details(changeset) %>
-- 2.39.5