Skip to content

Build your personal knowledge base with Trilium Notes

Style shared note children (#2505)

Matt168645cce90a
diff --git a/src/views/share/page.ejs b/src/views/share/page.ejs
index ab488525d6..cefd35b96d 100644
--- a/src/views/share/page.ejs
+++ b/src/views/share/page.ejs
@@ -52,18 +52,19 @@
<% if (note.hasChildren()) { %>
<nav id="childLinks" class="<% if (isEmpty) { %>grid<% } else { %>list<% } %>">
<% if (!isEmpty) { %>
- <hr>
+ <div id="noteClippedFrom">
<span>Child notes: </span>
+ <ul>
+ <% for (const childNote of note.getChildNotes()) { %>
+ <li>
+ <a href="<%= childNote.shareId %>"
+ class="type-<%= childNote.type %>"><%= childNote.title %></a>
+ </li>
+ <% } %>
+ </ul>
+ </div>
<% } %>
- <ul>
- <% for (const childNote of note.getChildNotes()) { %>
- <li>
- <a href="<%= childNote.shareId %>"
- class="type-<%= childNote.type %>"><%= childNote.title %></a>
- </li>
- <% } %>
- </ul>
</nav>
<% } %>
</div>