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
chore(layout): revert breadcrumb row
Elian Doranc97038fffd37
diff --git a/apps/client/src/layouts/desktop_layout.tsx b/apps/client/src/layouts/desktop_layout.tsxindex ac4590fecb..7eda043b02 100644--- a/apps/client/src/layouts/desktop_layout.tsx+++ b/apps/client/src/layouts/desktop_layout.tsx@@ -82,8 +82,16 @@ export default class DesktopLayout {const titleRow = new FlexContainer("row").class("title-row")+ .cssBlock(".title-row > * { margin: 5px; }").child(<NoteIconWidget />)- .child(<NoteTitleWidget />);+ .child(<NoteTitleWidget />)+ .optChild(isNewLayout, <BreadcrumbBadges />)+ .child(<SpacerWidget baseSize={0} growthFactor={1} />)+ .child(<MovePaneButton direction="left" />)+ .child(<MovePaneButton direction="right" />)+ .child(<ClosePaneButton />)+ .child(<CreatePaneButton />)+ .optChild(isNewLayout, <NoteActions />);const rootContainer = new RootContainer(true).setParent(appContext)@@ -137,18 +145,6 @@ export default class DesktopLayout {.child(new SplitNoteContainer(() =>new NoteWrapperWidget()- .child(- new FlexContainer("row")- .class("breadcrumb-row")- .cssBlock(".breadcrumb-row > * { margin: 5px; }")- .optChild(isNewLayout, <BreadcrumbBadges />)- .child(<SpacerWidget baseSize={0} growthFactor={1} />)- .child(<MovePaneButton direction="left" />)- .child(<MovePaneButton direction="right" />)- .child(<ClosePaneButton />)- .child(<CreatePaneButton />)- .optChild(isNewLayout, <NoteActions />)- ).optChild(!isFloatingTitlebar, titleRow).optChild(!isNewLayout, <Ribbon><NoteActions /></Ribbon>).optChild(isNewLayout, <Ribbon />)