Truncate descriptions horizontally in changeset lists

Can't have horizontal scroll because it interferes with stretched links.
This commit is contained in:
Anton Khorev 2024-05-18 19:39:35 +03:00
parent 81732d6b0f
commit 98ff2c0b9c

View file

@ -11,7 +11,7 @@
end %>
<%= tag.li :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data }, :class => "list-group-item list-group-item-action" do %>
<p class="fs-6">
<p class="fs-6 text-truncate text-wrap">
<a class="changeset_id link-body-emphasis stretched-link" href="<%= changeset_path(changeset) %>">
<span><%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %></span>
</a>