fix medium 移动端目录溢出

This commit is contained in:
bpking1
2023-07-26 08:20:47 +08:00
parent a110f17a64
commit 3b2ad33c9c

View File

@@ -63,7 +63,7 @@ const Catalog = ({ toc }) => {
<div className='w-full mt-2 mb-4'>
<Progress />
</div>
<div className='overflow-y-auto max-h-96 overscroll-none scroll-hidden' ref={tRef}>
<div className='overflow-y-auto max-h-44 overscroll-none scroll-hidden' ref={tRef}>
<nav className='h-full text-black'>
{toc.map((tocItem) => {
const id = uuidToId(tocItem.id)