fix-click

This commit is contained in:
tangly1024
2022-12-25 21:06:04 +08:00
parent 8b717ad209
commit 65d4ce08d6

View File

@@ -91,7 +91,7 @@ export const LayoutSlug = props => {
</div>
{post.type === 'Post' && <ArticleAdjacent {...props} />}
{post?.toc?.length > 0 && <div id='toc-wrapper' className='absolute top-0 w-full h-full xl:block hidden' >
{post?.toc?.length > 0 && <div id='toc-wrapper' style={{ zIndex: '-1' }} className='absolute top-0 w-full h-full xl:block hidden' >
<div className='relative h-full'>
<div className='float-right -mr-72 h-full mt-40'>
<div className='sticky top-24'>