mirror of https://github.com/fantasticit/think.git
feat: show edit float button early
This commit is contained in:
parent
a9d67dbd9f
commit
955e8a066b
|
@ -116,6 +116,7 @@ export const DocumentReader: React.FC<IProps> = ({ documentId }) => {
|
||||||
}}
|
}}
|
||||||
onClick={gotoEdit}
|
onClick={gotoEdit}
|
||||||
target={() => window.document.querySelector('.Pane2')}
|
target={() => window.document.querySelector('.Pane2')}
|
||||||
|
visibilityHeight={200}
|
||||||
>
|
>
|
||||||
<IconEdit />
|
<IconEdit />
|
||||||
</BackTop>
|
</BackTop>
|
||||||
|
|
Loading…
Reference in New Issue