Put span inside stretched link to improve text selection
This commit is contained in:
parent
139ccef2dd
commit
f1cf1be64a
2 changed files with 6 additions and 1 deletions
|
@ -745,6 +745,11 @@ tr.turn:hover {
|
|||
&.selected { background: $list-highlight; }
|
||||
/* color is derived from changeset bbox fillColor in history.js */
|
||||
|
||||
a.stretched-link > span {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
a:not(.stretched-link), [title] {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<%= tag.li :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data }, :class => "list-group-item" do %>
|
||||
<p class="fst-italic">
|
||||
<a class="changeset_id text-dark stretched-link" href="<%= changeset_path(changeset) %>">
|
||||
<%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %>
|
||||
<span><%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %></span>
|
||||
</a>
|
||||
</p>
|
||||
<div class="row">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue