Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(mind-map): start the node panel at the map in the new layout
Elian Doran3f713fef1f00
diff --git a/apps/client/src/widgets/type_widgets/mind_map/NodePanel.css b/apps/client/src/widgets/type_widgets/mind_map/NodePanel.cssindex 32fde6b5ae..13536136e4 100644--- a/apps/client/src/widgets/type_widgets/mind_map/NodePanel.css+++ b/apps/client/src/widgets/type_widgets/mind_map/NodePanel.css@@ -34,6 +34,12 @@--node-panel-top: var(--mind-map-inset-top);}+/* The new layout keeps no floating buttons over that corner — what they did is done from the title+ row above the note instead — so there is nothing there for the panel to start under. */+body.experimental-feature-new-layout .mind-map-node-panel {+ --node-panel-top: var(--mind-map-inset-top);+}+/** The strip is the right pane's, at the size it stands there (see TabStrip.css); what is left here* is the row it heads. It parts from the tab under it by a line the width of the panel, so that it