Skip to content

Build your personal knowledge base with Trilium Notes

feat(status_bar): relocate to outside split area

Elian Dorand2b32ff5af99
diff --git a/apps/client/src/layouts/desktop_layout.tsx b/apps/client/src/layouts/desktop_layout.tsx
index 2ad525dca5..ac4590fecb 100644
--- a/apps/client/src/layouts/desktop_layout.tsx
+++ b/apps/client/src/layouts/desktop_layout.tsx
@@ -177,10 +177,10 @@ 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, <StatusBar />)
)
)
.child(...this.customWidgets.get("center-pane"))
+
)
.child(
new RightPaneContainer()
@@ -189,8 +189,10 @@ export default class DesktopLayout {
.child(...this.customWidgets.get("right-pane"))
)
)
+ .optChild(!launcherPaneIsHorizontal && isNewLayout, <StatusBar />)
)
)
+ .optChild(launcherPaneIsHorizontal && isNewLayout, <StatusBar />)
.child(<CloseZenModeButton />)
// Desktop-specific dialogs.
diff --git a/apps/client/src/widgets/layout/StatusBar.css b/apps/client/src/widgets/layout/StatusBar.css
index 5b7d642b73..688d8904d0 100644
--- a/apps/client/src/widgets/layout/StatusBar.css
+++ b/apps/client/src/widgets/layout/StatusBar.css
@@ -5,6 +5,7 @@
display: flex;
align-items: center;
padding-inline: 0.25em;
+ min-height: 32px;
> .breadcrumb-row {
flex-grow: 1;