feature:

进度条圆角样式;
侧边菜单与目录留白
This commit is contained in:
tangly
2021-11-07 09:22:17 +08:00
parent e3423f9768
commit cdc6946e41
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ const Progress = ({ targetRef }) => {
}, [percent])
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>)
}

View File

@@ -26,7 +26,7 @@ const SideBar = ({ tags, currentTag, post, posts, categories, currentCategory })
<InfoCard />
</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'>