导航条加阴影;

航条标签栏滚动时隐藏;
使用Container容器;
移动端文章边距调整。
This commit is contained in:
tangly1024
2021-10-13 12:41:16 +08:00
parent 4d7284bc59
commit 1d73dc6de1
8 changed files with 55 additions and 45 deletions

View File

@@ -51,7 +51,7 @@ const TocBar = ({ toc }) => {
}, throttleMs)
return <div className='bg-white dark:bg-gray-800 pb-10 min-h-screen'>
<div className='border-t dark:border-gray-600 border-b text-2xl bg-gray-100 font-bold text-black dark:bg-black dark:text-white py-6 px-6'>
<div className='w-52 border-t dark:border-gray-600 border-b text-2xl bg-gray-100 font-bold text-black dark:bg-black dark:text-white py-6 px-6'>
文章目录
</div>
<nav className='text-gray-500 dark:text-gray-400 underline overflow-y-auto overflow-x-auto'>