tweak(ui): max-width on session when the review is closed but the file tree is open
parent
37d42595cf
commit
09e1b98bc6
|
|
@ -107,7 +107,7 @@ export default function Page() {
|
|||
if (desktopReviewOpen()) return `${layout.session.width()}px`
|
||||
return `calc(100% - ${layout.fileTree.width()}px)`
|
||||
})
|
||||
const centered = createMemo(() => isDesktop() && !desktopSidePanelOpen())
|
||||
const centered = createMemo(() => isDesktop() && !desktopReviewOpen())
|
||||
|
||||
function normalizeTab(tab: string) {
|
||||
if (!tab.startsWith("file://")) return tab
|
||||
|
|
|
|||
Loading…
Reference in New Issue