Skip to content

Commit 09e1b98

Browse files
committed
tweak(ui): max-width on session when the review is closed but the file tree is open
1 parent 37d4259 commit 09e1b98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/app/src/pages/session.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default function Page() {
107107
if (desktopReviewOpen()) return `${layout.session.width()}px`
108108
return `calc(100% - ${layout.fileTree.width()}px)`
109109
})
110-
const centered = createMemo(() => isDesktop() && !desktopSidePanelOpen())
110+
const centered = createMemo(() => isDesktop() && !desktopReviewOpen())
111111

112112
function normalizeTab(tab: string) {
113113
if (!tab.startsWith("file://")) return tab

0 commit comments

Comments
 (0)