mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-09 13:07:37 +08:00
Wrap module names in the outline (#2810)
This commit is contained in:
parent
80e3b18bee
commit
3ee045f428
1 changed files with 2 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue