Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
children overview styling
azivner3d15450ffcea
diff --git a/src/public/javascripts/entities/note_short.js b/src/public/javascripts/entities/note_short.jsindex 6a831111be..d5a18bc099 100644--- a/src/public/javascripts/entities/note_short.js+++ b/src/public/javascripts/entities/note_short.js@@ -24,6 +24,10 @@ class NoteShort {}async getChildBranches() {+ if (!this.treeCache.children) {+ return [];+ }+const branches = [];for (const child of this.treeCache.children[this.noteId]) {diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.cssindex e5719680c1..6292e17357 100644--- a/src/public/stylesheets/style.css+++ b/src/public/stylesheets/style.css@@ -298,11 +298,15 @@ div.ui-tooltip {font-weight: bold;font-size: large;padding: 10px;- border: 1px solid black;+ background: #f4f4f4;width: 150px;height: 95px;margin-right: 20px;- margin-bottom: 20px;border-radius: 15px;overflow: hidden;+ text-align: center;+}++.child-overview a {+ color: #444;}\ No newline at end of file