diff --git a/apps/client/src/layouts/desktop_layout.tsx b/apps/client/src/layouts/desktop_layout.tsx
index 4c642495a..ce6acd39f 100644
--- a/apps/client/src/layouts/desktop_layout.tsx
+++ b/apps/client/src/layouts/desktop_layout.tsx
@@ -75,6 +75,11 @@ export default class DesktopLayout {
const customTitleBarButtons = !hasNativeTitleBar && !isMac && !isWindows;
const isNewLayout = isExperimentalFeatureEnabled("new-layout");
+ const titleRow = new FlexContainer("row")
+ .class("title-row")
+ .child()
+ .child();
+
const rootContainer = new RootContainer(true)
.setParent(appContext)
.class((launcherPaneIsHorizontal ? "horizontal" : "vertical") + "-layout")
@@ -142,17 +147,14 @@ export default class DesktopLayout {
.child()
.optChild(isNewLayout, )
)
- .child(new FlexContainer("row")
- .class("title-row")
- .child()
- .child()
- )
+ .optChild(!isNewLayout, titleRow)
.optChild(!isNewLayout, )
.child(new WatchedFileUpdateStatusWidget())
.child()
.child(
new ScrollingContainer()
.filling()
+ .optChild(isNewLayout, titleRow)
.child(new ContentHeader()
.child()
.child()