post-card hight

This commit is contained in:
tangly1024.com
2023-03-13 11:51:28 +08:00
parent 2749843b0b
commit 573b6f5ab5

View File

@@ -35,7 +35,7 @@ export const BlogPostCardInfo = ({ post, showPreview, showSummary }) => {
{/* 摘要 */}
{(!showPreview || showSummary) && !post.results && (
<p style={{ overflow: 'hidden', textOverflow: 'ellipsis', display: '-webkit-box', WebkitLineClamp: '2', WebkitBoxOrient: 'vertical' }}
className="replace my-4 h-28 text-gray-700 dark:text-gray-300 text-sm font-light leading-7">
className="replace py-3 h-28 text-gray-700 dark:text-gray-300 text-sm font-light leading-7">
{post.summary}
</p>
)}