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
fix(left-pane): fade the note tree under the quick search header
Elian Doran0d7b6fa8e2a1
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.cssindex 7b370cb08d..3c6f6bc4c8 100644--- a/apps/client/src/stylesheets/theme-next/shell.css+++ b/apps/client/src/stylesheets/theme-next/shell.css@@ -577,6 +577,11 @@ div.bookmark-folder-widget .note-link .tn-icon {animation: fade-in 200ms ease-in;}+#left-pane .tree.scroll-edge-fade {+ --scroll-fade-top: 18px;+ padding-top: 10px;+}+:is(#left-pane, .tree-popup-sidebar) span.fancytree-node {border: unset;border-radius: 6px;diff --git a/apps/client/src/widgets/note_tree.ts b/apps/client/src/widgets/note_tree.tsindex 11dda7134a..2fd46b4966 100644--- a/apps/client/src/widgets/note_tree.ts+++ b/apps/client/src/widgets/note_tree.ts@@ -107,7 +107,7 @@ const TPL = /*html*/`}</style>- <div class="tree"></div>+ <div class="tree scroll-edge-fade"></div><div class="tree-actions"><button class="tree-floating-button bx bx-layer-minus collapse-tree-button"