Set trace thumbnail link display property to inline-block, fixing focus outline
This makes <a> as tall as <img> inside it.
This commit is contained in:
parent
b46c53d329
commit
dea9c385b3
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@
|
|||
<td>
|
||||
<% if Settings.status != "gpx_offline" %>
|
||||
<% if trace.inserted %>
|
||||
<%= link_to image_tag(trace_icon_path(trace.user, trace), :alt => "", :class => "trace_image"), show_trace_path(trace.user, trace) %>
|
||||
<%= link_to image_tag(trace_icon_path(trace.user, trace), :alt => "", :class => "trace_image"),
|
||||
show_trace_path(trace.user, trace),
|
||||
:class => "d-inline-block" %>
|
||||
<% else %>
|
||||
<span class="text-danger"><%= t ".pending" %></span>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue