mirror of https://github.com/fantasticit/think.git
tiptap: fix backtop btn position
parent
37c310363d
commit
2992943e4f
|
@ -202,7 +202,7 @@ export const EditorInstance = forwardRef((props: IProps, ref) => {
|
|||
</main>
|
||||
<BackTop
|
||||
target={() => $mainContainer.current}
|
||||
style={{ right: isMobile ? 16 : 100, bottom: 65 }}
|
||||
style={{ right: isMobile ? 16 : 36, bottom: 65 }}
|
||||
visibilityHeight={200}
|
||||
/>
|
||||
</>
|
||||
|
|
|
@ -43,7 +43,7 @@ export const ReaderEditor: React.FC<IProps> = ({ content }) => {
|
|||
</main>
|
||||
<BackTop
|
||||
target={() => $mainContainer.current}
|
||||
style={{ right: isMobile ? 16 : 100, bottom: 65 }}
|
||||
style={{ right: isMobile ? 16 : 36, bottom: 65 }}
|
||||
visibilityHeight={200}
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue