Skip to content

Build your personal knowledge base with Trilium Notes

fix(client/rtl): tree chevron in the wrong direction

Elian Doran1e78dd829686
diff --git a/apps/client/src/stylesheets/tree.css b/apps/client/src/stylesheets/tree.css
index df7d00bd7f..976b434e28 100644
--- a/apps/client/src/stylesheets/tree.css
+++ b/apps/client/src/stylesheets/tree.css
@@ -62,6 +62,10 @@ span.fancytree-node.fancytree-hide {
margin-inline-end: 5px;
}
+body[dir=rtl] .fancytree-node:not(.fancytree-loading):not(.fancytree-expanded) .fancytree-expander:before {
+ content: "\ea4d"; /* bx bx-chevron-left */
+}
+
.fancytree-loading span.fancytree-expander {
background-image: none;
display: inline-block;