mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-30 07:26:45 +00:00
feature:
调整字体,重新排版
This commit is contained in:
@@ -50,8 +50,8 @@ const Toc = ({ toc }) => {
|
||||
setActiveSection(currentSectionId)
|
||||
}, throttleMs))
|
||||
|
||||
return <div className='dark:bg-gray-900 bg-white'>
|
||||
<nav className='text-gray-500 dark:text-gray-400 overflow-y-auto scroll-hidden p-2'>
|
||||
return <>
|
||||
<nav className=' dark:text-gray-400 dark:bg-gray-900 overflow-y-auto scroll-hidden p-2'>
|
||||
{toc.map((tocItem) => {
|
||||
const id = uuidToId(tocItem.id)
|
||||
return (
|
||||
@@ -74,7 +74,7 @@ const Toc = ({ toc }) => {
|
||||
)
|
||||
})}
|
||||
</nav>
|
||||
</div>
|
||||
</>
|
||||
}
|
||||
|
||||
export default Toc
|
||||
|
||||
Reference in New Issue
Block a user