Skip to content

Commit e4ed23f

Browse files
committed
Fix ellipsis in source function
1 parent becafe4 commit e4ed23f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/error_tracker/web/live/dashboard.html.heex

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,13 @@
6666
<.link navigate={error_path(@socket, error)} class="absolute inset-1">
6767
<span class="sr-only">(<%= sanitize_module(error.kind) %>) <%= error.reason %></span>
6868
</.link>
69-
<p class="whitespace-nowrap text-ellipsis w-full overflow-hidden">
69+
<p class="whitespace-nowrap text-ellipsis overflow-hidden">
7070
(<%= sanitize_module(error.kind) %>) <%= error.reason %>
7171
</p>
72-
<p :if={ErrorTracker.Error.has_source_info?(error)} class="font-normal text-gray-400">
72+
<p
73+
:if={ErrorTracker.Error.has_source_info?(error)}
74+
class="whitespace-nowrap text-ellipsis overflow-hidden font-normal text-gray-400"
75+
>
7376
<%= sanitize_module(error.source_function) %>
7477
<br />
7578
<%= error.source_line %>

0 commit comments

Comments
 (0)