mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-05 15:10:26 +00:00
feature:
进度条圆角样式; 侧边菜单与目录留白
This commit is contained in:
@@ -25,7 +25,7 @@ const Progress = ({ targetRef }) => {
|
|||||||
}, [percent])
|
}, [percent])
|
||||||
|
|
||||||
return (<div className='h-1.5 fixed left-0 top-0 w-full shadow-2xl z-40'>
|
return (<div className='h-1.5 fixed left-0 top-0 w-full shadow-2xl z-40'>
|
||||||
<div className='h-1 bg-blue-500 fixed left-0 top-0 duration-200' style={{ width: `${percent}%` }}/>
|
<div className='h-1 bg-blue-500 fixed left-0 top-0 duration-200 rounded' style={{ width: `${percent}%` }}/>
|
||||||
</div>)
|
</div>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ const SideBar = ({ tags, currentTag, post, posts, categories, currentCategory })
|
|||||||
<InfoCard />
|
<InfoCard />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div className={(!post ? 'sticky top-0' : '') + ' bg-white dark:bg-gray-800'}>
|
<div className={(!post ? 'sticky top-0' : '') + ' bg-white dark:bg-gray-800 pb-4'}>
|
||||||
|
|
||||||
{/* 搜索框 */}
|
{/* 搜索框 */}
|
||||||
<section className='p-5'>
|
<section className='p-5'>
|
||||||
|
|||||||
Reference in New Issue
Block a user