fix(core): fix position of toc in peekview (#8441)

Close [BS-1536](https://linear.app/affine-design/issue/BS-1536/peekview中的toc没有fixed)
This commit is contained in:
L-Sun committed 2024-10-08 02:44:33 +00:00
1 parent 4da0231658
commit afb21f734e
2 files changed
+48 -15

No files matched your search

@@ -159,15 +159,14 @@ function DocPeekPreviewEditor({
page={doc.blockSuiteDoc}
onEditorReady={handleOnEditorReady}
/>
<EditorOutlineViewer
editor={editorElement}
show={mode === 'page'}
openOutlinePanel={openOutlinePanel}
/>
</Scrollable.Viewport>
<Scrollable.Scrollbar />
</Scrollable.Root>
<EditorOutlineViewer
editor={editorElement}
show={mode === 'page'}
openOutlinePanel={openOutlinePanel}
/>
</AffineErrorBoundary>
);
}