🐻 简化层级,减少DOM

This commit is contained in:
tangly1024
2021-09-29 14:59:27 +08:00
parent 791af3a1af
commit 5012d6d9a2
9 changed files with 42 additions and 79 deletions

View File

@@ -47,7 +47,7 @@ const TocBar = ({ toc }) => {
setActiveSection(currentSectionId)
}, throttleMs)
return <div className='bg-white dark:bg-gray-800'>
return <div className='bg-white dark:bg-gray-800 pb-10'>
<div className='text-center text-2xl font-bold text-black dark:text-white py-6 '>
文章目录
</div>