Skip to content

Commit

Permalink
Merge pull request openstreetmap#4813 from AntonKhorev/no-fst-italic
Browse files Browse the repository at this point in the history
Use font size instead of italic for changeset/trace descriptions
  • Loading branch information
gravitystorm committed Jun 19, 2024
2 parents 54aa89a + 98ff2c0 commit d57dd1f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/browse/_common_details.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#<%= link_to_unless_current common_details.version, :controller => "old_#{@type.pluralize}", :action => :show, :version => common_details.version %>
</h4>

<p class="fst-italic">
<p class="fs-6 overflow-x-auto">
<% if common_details.changeset.tags["comment"].present? %>
<%= linkify(common_details.changeset.tags["comment"]) %>
<% else %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/changesets/_changeset.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/views/changesets/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/views/traces/_trace.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
:tags => safe_join(trace.tags.collect { |tag| link_to_tag tag.tag }, ", ") %>
<% end %>
</p>
<p class="fst-italic mb-0">
<p class="fs-6 mb-0">
<%= trace.description %>
</p>
</td>
Expand Down

0 comments on commit d57dd1f

Please sign in to comment.