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
client: Move note title to scrolling container
Elian Doran18b0907841c9
diff --git a/src/public/app/layouts/desktop_layout.js b/src/public/app/layouts/desktop_layout.jsindex 1fc15fb696..2ba26c3073 100644--- a/src/public/app/layouts/desktop_layout.js+++ b/src/public/app/layouts/desktop_layout.js@@ -121,20 +121,7 @@ export default class DesktopLayout {.collapsible().id('center-pane').child(new SplitNoteContainer(() =>- new NoteWrapperWidget()- .child(new FlexContainer('row').class('title-row')- .css("height", "50px")- .css("min-height", "50px")- .css('align-items', "center")- .cssBlock('.title-row > * { margin: 5px; }')- .child(new NoteIconWidget())- .child(new NoteTitleWidget())- .child(new SpacerWidget(0, 1))- .child(new MovePaneButton(true))- .child(new MovePaneButton(false))- .child(new ClosePaneButton())- .child(new CreatePaneButton())- )+ new NoteWrapperWidget().child(new RibbonContainer()// the order of the widgets matter. Some of these want to "activate" themselves@@ -171,9 +158,22 @@ export default class DesktopLayout {.child(new HideFloatingButtonsButton())).child(new MermaidWidget())- .child(+ .child(new ScrollingContainer().filling()+ .child(new FlexContainer('row').class('title-row')+ .css("height", "50px")+ .css("min-height", "50px")+ .css('align-items', "center")+ .cssBlock('.title-row > * { margin: 5px; }')+ .child(new NoteIconWidget())+ .child(new NoteTitleWidget())+ .child(new SpacerWidget(0, 1))+ .child(new MovePaneButton(true))+ .child(new MovePaneButton(false))+ .child(new ClosePaneButton())+ .child(new CreatePaneButton())+ ).child(new PromotedAttributesWidget()).child(new SqlTableSchemasWidget()).child(new NoteDetailWidget())