mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
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:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user