mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-06 15:10:29 +00:00
fukasawa 侧边目录微调
This commit is contained in:
@@ -51,7 +51,7 @@ const Catalog = ({ toc }) => {
|
|||||||
}, throttleMs))
|
}, throttleMs))
|
||||||
|
|
||||||
return <div>
|
return <div>
|
||||||
<div className='w-full dark:text-gray-300'><i className='mr-1 fas fa-stream' /> 目录</div>
|
<div className='w-full dark:text-gray-300 mb-2'><i className='mr-1 fas fa-stream' /> 目录</div>
|
||||||
<nav className='font-sans overflow-y-auto scroll-hidden text-black'>
|
<nav className='font-sans overflow-y-auto scroll-hidden text-black'>
|
||||||
{toc.map((tocItem) => {
|
{toc.map((tocItem) => {
|
||||||
const id = uuidToId(tocItem.id)
|
const id = uuidToId(tocItem.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user