hexo: 图片高度限制

This commit is contained in:
tangly1024
2022-04-25 11:27:43 +08:00
parent ca2fd3e5a9
commit fd624db701

View File

@@ -85,7 +85,7 @@ const BlogPostCard = ({ post, showSummary }) => {
<img
src={post?.page_cover}
alt={post.title}
className="hover:scale-125 rounded-t-xl lg:rounded-r-xl lg:rounded-t-none transform object-cover duration-500"
className="max-h-52 lg:max-h-72 w-full hover:scale-125 rounded-t-xl lg:rounded-r-xl lg:rounded-t-none transform object-cover duration-500"
/>
{/* <Image className='hover:scale-125 rounded-t-xl lg:rounded-r-xl lg:rounded-t-none transform duration-500' src={post?.page_cover} alt={post.title} layout='fill' objectFit='cover' loading='lazy' /> */}
</div>