Skip to content

Build your personal knowledge base with Trilium Notes

no difference in styling when active tree node is in focus or not because focused class is unreliable

zadam0ca099675122
diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js
index 25f591cb1c..d189e252b0 100644
--- a/src/public/app/widgets/note_tree.js
+++ b/src/public/app/widgets/note_tree.js
@@ -104,11 +104,7 @@ const TPL = `
border-radius: 5px;
}
- span.fancytree-active:not(.fancytree-focused) .fancytree-title {
- border-style: dashed !important;
- }
-
- span.fancytree-focused .fancytree-title, span.fancytree-focused.fancytree-selected .fancytree-title {
+ span.fancytree-active .fancytree-title, span.fancytree-active.fancytree-selected .fancytree-title {
color: var(--active-item-text-color) !important;
background-color: var(--active-item-background-color) !important;
border-color: var(--main-background-color) !important; /* invisible border */