fix(app): timeline width jumps around when review panel is open/closed (#36202)

This commit is contained in:
Aarav Sareen
2026-07-10 03:59:03 +00:00
committed by GitHub
parent c769380776
commit 772e976d80
+1 -1
View File
@@ -483,7 +483,7 @@ export default function Page() {
if (desktopSessionResizeOpen()) return `${sessionPanelResizedWidth()}px`
return `calc(100% - ${layout.fileTree.width()}px)`
})
const centered = createMemo(() => isDesktop() && !desktopReviewOpen())
const centered = createMemo(() => isDesktop() && (newSessionDesign() || !desktopReviewOpen()))
const desktopV2PanelLayout = createMemo(() =>
sessionPanelLayout({
review: desktopV2ReviewOpen(),