Merge pull request #641 from tangly1024/main

tangly1024.com
This commit is contained in:
tangly1024
2022-12-25 21:07:18 +08:00
committed by GitHub

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'>