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
allow shrinking note title text in the tree to make space for the "add note" button https://github.com/zadam/trilium/discussions/4287
zadam3e8f09d30679
diff --git a/src/public/stylesheets/tree.css b/src/public/stylesheets/tree.cssindex 70c99c3d7d..25adf20d07 100644--- a/src/public/stylesheets/tree.css+++ b/src/public/stylesheets/tree.css@@ -11,7 +11,10 @@ span.fancytree-node.fancytree-hide {}.fancytree-title {- flex: auto;+ flex-basis: 0; /* to allow shrinking text to make space for buttons */+ flex-shrink: 1;+ flex-grow: 1;+ overflow: hidden;margin-left: 7px;outline: none;position: relative;