mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-19 04:59:33 +01:00
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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user