Skip to content

Build your personal knowledge base with Trilium Notes

chore(mobile/tree): slightly bigger expanders

Elian Doran66e0f1ab19bd
diff --git a/apps/client/src/layouts/mobile_layout.tsx b/apps/client/src/layouts/mobile_layout.tsx
index 9913949a52..5b30fc2c90 100644
--- a/apps/client/src/layouts/mobile_layout.tsx
+++ b/apps/client/src/layouts/mobile_layout.tsx
@@ -67,12 +67,7 @@ const FANCYTREE_CSS = `
padding-inline-start: 10px;
}
-.fancytree-custom-icon {
- font-size: 2em;
-}
-
.fancytree-title {
- font-size: 1.5em;
margin-inline-start: 0.6em !important;
}
@@ -80,10 +75,6 @@ const FANCYTREE_CSS = `
padding: 5px;
}
-.fancytree-node .fancytree-expander:before {
- font-size: 2em !important;
-}
-
span.fancytree-expander {
width: 24px !important;
margin-inline-end: 5px;
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index fae4001f08..f665bcc843 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -739,12 +739,6 @@ body[dir=rtl] #left-pane span.fancytree-node.protected > span.fancytree-custom-i
transform: translateX(-25%);
}
-body.mobile .fancytree-expander::before,
-body.mobile .fancytree-title,
-body.mobile .fancytree-node > span {
- font-size: 1rem !important;
-}
-
@media (max-width: 991px) {
body.mobile #mobile-sidebar-container {
background-color: rgba(0, 0, 0, 0.5);