卡牌article-cover样式调整

This commit is contained in:
tangly1024
2022-02-28 17:46:31 +08:00
parent 6c91e68ff9
commit 9e3bcb75e5
3 changed files with 7 additions and 8 deletions

View File

@@ -45,10 +45,10 @@ const BlogPostCard = ({ post, showSummary }) => {
collection: Collection
}}
/>
<div className='article-cover pointer-events-none'>
<div className='pointer-events-none border-t pt-8 border-dashed'>
<div className='w-full justify-start flex'>
<Link href={`${BLOG.PATH}/article/${post.slug}`} passHref>
<a className='hover:bg-opacity-100 hover:scale-105 duration-200 pointer-events-auto transform text-red-500 cursor-pointer'>
<a className='hover:bg-opacity-100 hover:scale-105 duration-200 pointer-events-auto transform font-bold text-green-500 cursor-pointer'>
{locale.COMMON.ARTICLE_DETAIL}
<i className='ml-1 fas fa-angle-right'/></a>
@@ -58,7 +58,6 @@ const BlogPostCard = ({ post, showSummary }) => {
</div> }
</div>
<hr className='w-full'/>
</div>
)