chore(space-view): clarify tree depth limit + drop stray blank line
This commit is contained in:
@@ -15,6 +15,8 @@ function pageLink(p) {
|
||||
return el('a', { href: '#/page/' + p.id }, p.title || '(untitled)');
|
||||
}
|
||||
|
||||
// Static 3-level descent (root → child → grandchild); pages nested deeper than
|
||||
// 3 levels are intentionally not shown. Our spaces never nest beyond that.
|
||||
function renderPageTree(pages, refs) {
|
||||
const byParent = new Map();
|
||||
for (const p of pages) {
|
||||
@@ -74,7 +76,6 @@ export async function render(main, ctx) {
|
||||
const projHead = el('h3', {}, 'Projects');
|
||||
renderProjects();
|
||||
|
||||
|
||||
mount(main,
|
||||
el('div', { class: 'doc-head' },
|
||||
el('h1', { class: 'view-h1', style: { margin: '0' } }, space.name),
|
||||
|
||||
Reference in New Issue
Block a user