🌜 适配夜间模式

This commit is contained in:
tangly1024
2021-09-27 15:47:01 +08:00
parent 383f3dc089
commit 98bbc014a3
5 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ const RightAside = ({ toc }) => {
// 无目录就直接返回空
if (toc.length < 1) return <></>
return <aside className='bg-gray-800 px-5 hidden lg:block py-5 hover:shadow-2xl duration-200'>
return <aside className='bg-gray-700 px-5 hidden lg:block py-5 hover:shadow-2xl duration-200'>
<div className='sticky top-8 w-60 overflow-x-auto'>
<Toc toc={toc}/>
</div>