Merge pull request #4813 from AntonKhorev/no-fst-italic

Use font size instead of italic for changeset/trace descriptions
This commit is contained in:
Andy Allan 2024-06-19 15:34:14 +01:00 committed by GitHub
commit d57dd1f4da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

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="fst-italic">
<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>

View file

@ -3,7 +3,7 @@
<%= render "sidebar_header", :title => t(".title", :id => @changeset.id) %>
<div class="browse-section">
<p class="fst-italic">
<p class="fs-6 overflow-x-auto">
<%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>
</p>
<p class="details"><%= changeset_details(@changeset) %></p>