Skip to content

Build your personal knowledge base with Trilium Notes

style/tree: improve icon alignment

Adorian Dorand87f626975af
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index d653f89aff..7797e3a806 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -718,9 +718,6 @@ body.mobile .fancytree-node > span {
margin-top: 0; /* Use this to align the icon with the tree view item's caption */
}
-#left-pane span .fancytree-title {
- margin-top: -5px;
-}
#left-pane span.fancytree-active .fancytree-title {
font-weight: normal;
diff --git a/apps/client/src/stylesheets/tree.css b/apps/client/src/stylesheets/tree.css
index 976b434e28..df38d28598 100644
--- a/apps/client/src/stylesheets/tree.css
+++ b/apps/client/src/stylesheets/tree.css
@@ -17,8 +17,6 @@ span.fancytree-node.fancytree-hide {
overflow: hidden;
margin-inline-start: 7px;
outline: none;
- position: relative;
- top: 2px;
}
.fancytree-expander {