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

View File

@@ -52,10 +52,8 @@
<% if (note.hasChildren()) { %> <% if (note.hasChildren()) { %>
<nav id="childLinks" class="<% if (isEmpty) { %>grid<% } else { %>list<% } %>"> <nav id="childLinks" class="<% if (isEmpty) { %>grid<% } else { %>list<% } %>">
<% if (!isEmpty) { %> <% if (!isEmpty) { %>
<hr> <div id="noteClippedFrom">
<span>Child notes: </span> <span>Child notes: </span>
<% } %>
<ul> <ul>
<% for (const childNote of note.getChildNotes()) { %> <% for (const childNote of note.getChildNotes()) { %>
<li> <li>
@@ -64,6 +62,9 @@
</li> </li>
<% } %> <% } %>
</ul> </ul>
</div>
<% } %>
</nav> </nav>
<% } %> <% } %>
</div> </div>