mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-24 07:26:50 +00:00
微调
This commit is contained in:
@@ -52,8 +52,7 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => {
|
||||
<div className="px-4 flex flex-col w-full text-gray-700 dark:text-gray-300">
|
||||
|
||||
{(!showPreview || showSummary) && post.summary && (
|
||||
<p style={{ overflow: 'hidden', textOverflow: 'ellipsis', display: '-webkit-box', WebkitLineClamp: '4', WebkitBoxOrient: 'vertical' }}
|
||||
className="replace my-2 text-sm font-light leading-7">
|
||||
<p className="replace my-2 text-sm font-light leading-7 line-clamp-3">
|
||||
{post.summary}
|
||||
</p>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user