进度条、回顶键调整

This commit is contained in:
tangly1024
2021-10-18 14:50:35 +08:00
parent 880505b9d1
commit 7480cef805
4 changed files with 27 additions and 36 deletions

View File

@@ -52,7 +52,7 @@ const BaseLayout = ({ children, layout, fullWidth, tags, meta, post, ...customMe
<SideBar tags={tags} post={post} />
<div className='flex flex-grow' ref={targetRef}>
{children}
<JumpToTop targetRef={targetRef} showPercent={false} />
<JumpToTop targetRef={targetRef} showPercent={true} />
</div>
</main>