]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/_changeset.html.erb
Put span inside stretched link to improve text selection
[rails.git] / app / views / changesets / _changeset.html.erb
index f3aaf38ea52bdbeb2b8b74226a98ca6aabb121e3..fa1761954afd7a7fd687bb7a994ebdc53484d9d3 100644 (file)
@@ -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">