Merge pull request #1344 from bpking1/dev

fix medium 移动端目录溢出
This commit is contained in:
tangly1024
2023-07-26 17:34:15 +08:00
committed by GitHub

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)