Merge remote-tracking branch 'upstream/pull/4720'

This commit is contained in:
Tom Hughes 2024-04-26 18:02:55 +01:00
commit b66881b45a
2 changed files with 4 additions and 3 deletions

View file

@ -593,8 +593,9 @@ tr.turn {
#sidebar .changesets { #sidebar .changesets {
li { li {
&.selected { background: $list-highlight; } &.selected {
/* color is derived from changeset bbox fillColor in history.js */ @extend :hover;
}
a.stretched-link > span, a:not(.stretched-link), [title] { a.stretched-link > span, a:not(.stretched-link), [title] {
position: relative; position: relative;

View file

@ -10,7 +10,7 @@
} }
end %> end %>
<%= tag.li :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data }, :class => "list-group-item" 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="fst-italic">
<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>