heo 微调卡片摘要样式

This commit is contained in:
tangly1024
2024-07-07 19:32:41 +08:00
parent 06463fa76b
commit 50c687ffcb

View File

@@ -76,7 +76,7 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => {
{/* 摘要 */}
{(!showPreview || showSummary) && (
<main className='line-clamp-2 replace my-3 2xl:my-1 text-gray-700 dark:text-gray-300 text-sm font-light leading-tight'>
<main className='line-clamp-2 replace text-gray-700 dark:text-gray-300 text-sm font-light leading-tight'>
{post.summary}
</main>
)}