mobile-gitbook

This commit is contained in:
tangly1024
2023-06-24 12:35:42 +08:00
parent c4ad41b0b6
commit 6a413fbdb2
5 changed files with 67 additions and 25 deletions

View File

@@ -20,8 +20,8 @@ const TocDrawer = ({ post, cRef }) => {
className={(tocVisible ? 'animate__slideInRight ' : ' -mr-72 animate__slideOutRight') +
' overflow-y-hidden shadow-card w-60 duration-200 fixed right-1 bottom-16 rounded py-2 bg-white dark:bg-gray-600'}>
{post && <>
<div className='dark:text-gray-400 text-gray-600 h-56'>
<Catalog toc={post.toc}/>
<div className='dark:text-gray-400 text-gray-600 h-56 p-3'>
<Catalog post={post}/>
</div>
</>}
</div>