hexo 回顶 按钮 样式

This commit is contained in:
tangly1024
2022-03-16 13:12:05 +08:00
parent c2075dde1c
commit c8c1e71480
6 changed files with 11 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ const TocDrawerButton = (props) => {
return <></>
}
const { locale } = useGlobal()
return (<div onClick={props.onClick} className='py-2 px-3 cursor-pointer text-white transform duration-200 flex justify-center items-center bg-gray-400 w-7 h-7 text-center' title={locale.POST.TOP} >
return (<div onClick={props.onClick} className='py-2 px-3 cursor-pointer transform duration-200 flex justify-center items-center w-7 h-7 text-center' title={locale.POST.TOP} >
<i className='fas fa-list-ol text-xs'/>
</div>)
}