Merge pull request #9002 from streetwriters/web/new-note-properties-pane

web: release space taken by properties pane for new note/tab
This commit is contained in:
Abdullah Atta
2025-12-03 14:01:34 +05:00
committed by GitHub

View File

@@ -226,11 +226,13 @@ export default function TabsView() {
<TableOfContents sessionId={activeSession.id} /> <TableOfContents sessionId={activeSession.id} />
</Pane> </Pane>
) : null} ) : null}
{arePropertiesVisible && activeSession && ( {arePropertiesVisible &&
<Pane id="properties-pane" initialSize={250} minSize={250}> activeSession &&
<Properties sessionId={activeSession.id} /> activeSession.type !== "new" && (
</Pane> <Pane id="properties-pane" initialSize={250} minSize={250}>
)} <Properties sessionId={activeSession.id} />
</Pane>
)}
</SplitPane> </SplitPane>
<DropZone overlayRef={overlayRef} /> <DropZone overlayRef={overlayRef} />
</ScopedThemeProvider> </ScopedThemeProvider>