目录会填充侧边栏

This commit is contained in:
Bhwa233
2024-03-15 11:44:19 +08:00
parent 22648aad77
commit 466fd5585c

View File

@@ -62,7 +62,7 @@ const Catalog = ({ toc }) => {
return <div id='catalog'>
<div className='w-full dark:text-gray-300 mb-2'><i className='mr-1 fas fa-stream' />{locale.COMMON.TABLE_OF_CONTENTS}</div>
<div className='h-96'>
<div >
<nav ref={tRef} className='h-full overflow-y-auto overscroll-none scroll-hidden text-black'>
{toc.map((tocItem) => {
const id = uuidToId(tocItem.id)