Skip to content

Build your personal knowledge base with Trilium Notes

style(launcher): full-width tree sidebar on mobile, match left-pane color

Elian Doran3e1bb8c95e57
diff --git a/apps/client/src/widgets/dialogs/TreePopupEditor.css b/apps/client/src/widgets/dialogs/TreePopupEditor.css
index c0a5f3e1f7..621a1dac5a 100644
--- a/apps/client/src/widgets/dialogs/TreePopupEditor.css
+++ b/apps/client/src/widgets/dialogs/TreePopupEditor.css
@@ -9,10 +9,17 @@
}
/* Sidebar holding the hoisted note tree. */
-.modal.tree-popup-editor-dialog .modal-sidebar {
+body.desktop .modal.tree-popup-editor-dialog .modal-sidebar {
width: 300px;
}
+/* Match the normal left-pane sidebar so the tree blends in instead of sitting on the plain modal
+ background (mirrors how the Options modal tints its own sidebar). */
+.modal.tree-popup-editor-dialog .modal-sidebar {
+ color: var(--left-pane-text-color);
+ background-color: var(--left-pane-background-color);
+}
+
.modal.tree-popup-editor-dialog .tree-popup-sidebar {
flex-grow: 1;
min-height: 0;