Skip to content

Build your personal knowledge base with Trilium Notes

chore(tree): align child count to the right

Elian Doran0c27bd25fa6c
diff --git a/apps/client/src/widgets/note_tree.css b/apps/client/src/widgets/note_tree.css
index 31e2b01424..4ab73d6fef 100644
--- a/apps/client/src/widgets/note_tree.css
+++ b/apps/client/src/widgets/note_tree.css
@@ -3,8 +3,12 @@
margin-inline-start: 0.5em;
background: var(--left-pane-item-action-button-background);
color: var(--left-pane-item-action-button-color);
- padding: 0.25em;
+ padding: 0.2em 0.4em;
border-radius: 0.5em;
font-size: 0.7rem;
font-weight: normal;
+ position: absolute;
+ top: 50%;
+ right: 0.6em;
+ transform: translateY(-50%);
}