mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-18 22:21:32 +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">
|
<ul :if={section_item.identifier_definitions != []} class="mt-2 ml-5 list-none items-center">
|
||||||
<li :for={definition <- section_item.identifier_definitions}>
|
<li :for={definition <- section_item.identifier_definitions}>
|
||||||
<button
|
<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-el-outline-definition-item
|
||||||
data-file={definition.file}
|
data-file={definition.file}
|
||||||
data-line={definition.line}
|
data-line={definition.line}
|
||||||
title={definition.label}
|
|
||||||
>
|
>
|
||||||
<.remix_icon icon="braces-line" class="font-normal opacity-50" />
|
<.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 %>
|
<%= definition.label %>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue