Skip to content

Build your personal knowledge base with Trilium Notes

chore(layout/title): remove spacer

Elian Doranfcbd1ab0b18e
diff --git a/apps/client/src/layouts/desktop_layout.tsx b/apps/client/src/layouts/desktop_layout.tsx
index 7eda043b02..85db39c47c 100644
--- a/apps/client/src/layouts/desktop_layout.tsx
+++ b/apps/client/src/layouts/desktop_layout.tsx
@@ -86,7 +86,7 @@ export default class DesktopLayout {
.child(<NoteIconWidget />)
.child(<NoteTitleWidget />)
.optChild(isNewLayout, <BreadcrumbBadges />)
- .child(<SpacerWidget baseSize={0} growthFactor={1} />)
+ .optChild(!isNewLayout, <SpacerWidget baseSize={0} growthFactor={1} />)
.child(<MovePaneButton direction="left" />)
.child(<MovePaneButton direction="right" />)
.child(<ClosePaneButton />)