Skip to content

Build your personal knowledge base with Trilium Notes

chore(layout): relocate ribbon on the top temporarily

Elian Doran9ee3c4848556
diff --git a/apps/client/src/layouts/desktop_layout.tsx b/apps/client/src/layouts/desktop_layout.tsx
index 8815e113de..d2e88740b5 100644
--- a/apps/client/src/layouts/desktop_layout.tsx
+++ b/apps/client/src/layouts/desktop_layout.tsx
@@ -154,6 +154,11 @@ export default class DesktopLayout {
)
.optChild(!isFloatingTitlebar, titleRow)
.optChild(!isNewLayout, <Ribbon><NoteActions /></Ribbon>)
+ .optChild(isNewLayout, (
+ <Ribbon>
+ <NoteStatusBar />
+ </Ribbon>
+ ))
.child(new WatchedFileUpdateStatusWidget())
.child(<FloatingButtons items={DESKTOP_FLOATING_BUTTONS} />)
.child(
@@ -179,11 +184,6 @@ export default class DesktopLayout {
...this.customWidgets.get("node-detail-pane"), // typo, let's keep it for a while as BC
...this.customWidgets.get("note-detail-pane")
)
- .optChild(isNewLayout, (
- <Ribbon>
- <NoteStatusBar />
- </Ribbon>
- ))
.optChild(isNewLayout, <StatusBar />)
)
)