feature: 目录样式

This commit is contained in:
tangly1024
2022-01-13 14:45:11 +08:00
parent c98538e56f
commit 9112f16172
3 changed files with 9 additions and 9 deletions

View File

@@ -52,8 +52,8 @@ const Toc = ({ toc }) => {
setActiveSection(currentSectionId)
}, throttleMs))
return <>
<div className='w-full'>
return <div className='px-3'>
<div className='w-full pb-1'>
<Progress/>
</div>
<nav className='font-sans overflow-y-auto scroll-hidden'>
@@ -79,7 +79,7 @@ const Toc = ({ toc }) => {
)
})}
</nav>
</>
</div>
}
export default Toc