Skip to content

Commit

Permalink
Wrap module names in the outline (#2810)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko authored Oct 2, 2024
1 parent 80e3b18 commit 3ee045f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/livebook_web/live/session_live/render.ex
Original file line number Diff line number Diff line change
Expand Up @@ -525,14 +525,13 @@ defmodule LivebookWeb.SessionLive.Render do
<ul :if={section_item.identifier_definitions != []} class="mt-2 ml-5 list-none items-center">
<li :for={definition <- section_item.identifier_definitions}>
<button
class="flex items-center max-w-full text-gray-600 hover:text-gray-900 text-sm gap-1"
class="flex items-baseline max-w-full text-gray-600 hover:text-gray-900 text-sm gap-1"
data-el-outline-definition-item
data-file={definition.file}
data-line={definition.line}
title={definition.label}
>
<.remix_icon icon="braces-line" class="font-normal opacity-50" />
<span class="font-mono truncate">
<span class="font-mono break-all text-left">
<%= definition.label %>
</span>
</button>
Expand Down

0 comments on commit 3ee045f

Please sign in to comment.