Style shared note children (#2505)

This commit is contained in:
Matt 2022-01-03 18:53:42 +00:00 committed by GitHub
parent f4c81ecefb
commit 168645cce9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,10 +52,8 @@
<% 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>
@ -64,6 +62,9 @@
</li>
<% } %>
</ul>
</div>
<% } %>
</nav>
<% } %>
</div>