目录样式微调
This commit is contained in:
tangly1024
2021-11-29 14:48:03 +08:00
parent 917d3f2e63
commit 99d98566b7
8 changed files with 49 additions and 31 deletions

View File

@@ -69,6 +69,10 @@ const SideBar = ({ tags, currentTag, post, posts, categories, currentCategory })
{post && (
<section id='left-toc' className='sticky top-0 bg-white dark:bg-gray-800'>
<div
className='border-b text-2xl bg-white font-bold text-black dark:bg-gray-700 dark:text-white py-6 px-6'>
文章目录
</div>
<Toc toc={post.toc} />
</section>
)}