Use font size instead of italic for changeset/trace descriptions

This commit is contained in:
Anton Khorev 2024-05-18 18:30:59 +03:00
parent 41ed1f8e52
commit fd3c7b23c5
4 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
#<%= link_to_unless_current common_details.version, :controller => "old_#{@type.pluralize}", :action => :show, :version => common_details.version %> #<%= link_to_unless_current common_details.version, :controller => "old_#{@type.pluralize}", :action => :show, :version => common_details.version %>
</h4> </h4>
<p class="fst-italic"> <p class="fs-6">
<% if common_details.changeset.tags["comment"].present? %> <% if common_details.changeset.tags["comment"].present? %>
<%= linkify(common_details.changeset.tags["comment"]) %> <%= linkify(common_details.changeset.tags["comment"]) %>
<% else %> <% else %>

View file

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

View file

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

View file

@ -40,7 +40,7 @@
:tags => safe_join(trace.tags.collect { |tag| link_to_tag tag.tag }, ", ") %> :tags => safe_join(trace.tags.collect { |tag| link_to_tag tag.tag }, ", ") %>
<% end %> <% end %>
</p> </p>
<p class="fst-italic mb-0"> <p class="fs-6 mb-0">
<%= trace.description %> <%= trace.description %>
</p> </p>
</td> </td>