From dea9c385b3f141bceb12d9cad854f671c20242a4 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 30 Apr 2024 17:14:07 +0300 Subject: [PATCH] Set trace thumbnail link display property to inline-block, fixing focus outline This makes as tall as inside it. --- app/views/traces/_trace.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/traces/_trace.html.erb b/app/views/traces/_trace.html.erb index 72794355b..cd4dce99e 100644 --- a/app/views/traces/_trace.html.erb +++ b/app/views/traces/_trace.html.erb @@ -2,7 +2,9 @@ <% 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 %> <%= t ".pending" %> <% end %> -- 2.39.5