From 81732d6b0f9f716fb688692662c8316db0d85272 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sat, 18 May 2024 19:40:34 +0300 Subject: [PATCH] Let descriptions be horizontally scrollable on changeset/element pages --- app/views/browse/_common_details.html.erb | 2 +- app/views/changesets/show.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/browse/_common_details.html.erb b/app/views/browse/_common_details.html.erb index 58956f9de..bf6c270cf 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/show.html.erb b/app/views/changesets/show.html.erb index 7c04ee284..6e4e953ff 100644 --- a/app/views/changesets/show.html.erb +++ b/app/views/changesets/show.html.erb @@ -3,7 +3,7 @@ <%= render "sidebar_header", :title => t(".title", :id => @changeset.id) %>

-

+

<%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>

<%= changeset_details(@changeset) %>

-- 2.39.5