重新排版优化

This commit is contained in:
tangly1024
2021-10-14 17:36:39 +08:00
parent 6f5e1b3f39
commit a07894bd46
20 changed files with 184 additions and 168 deletions

View File

@@ -50,7 +50,7 @@ const TocBar = ({ toc }) => {
setActiveSection(currentSectionId)
}, throttleMs))
return <div className='bg-white dark:bg-gray-800 pb-10 min-h-screen'>
return <div>
<nav className='text-gray-500 dark:text-gray-400 underline overflow-auto scroll-hidden py-2'>
{toc.map((tocItem) => {
const id = uuidToId(tocItem.id)