目录zIndex调整,封装导航隐藏函数,加入隐私协议链接

This commit is contained in:
tangly1024
2021-10-26 16:16:46 +08:00
parent 54b27aa368
commit 6258465203
3 changed files with 37 additions and 13 deletions

View File

@@ -141,7 +141,7 @@ const BlogPost = ({ post, blockMap, tags, prev, next }) => {
</div>
{/* 右侧目录 */}
<aside className='dark:bg-gray-800 bg-white'>
<aside className='dark:bg-gray-800 bg-white z-10'>
<section
className='h-full xl:static xl:block hidden top-0 right-0 fixed h-full w-52 dark:bg-gray-800 duration-500'>
<div id='right-toc' className='sticky top-16 duration-500'>