Merge pull request #893 from tangly1024/fix/hexo-multilines

hexo-card-line-search
This commit is contained in:
tangly1024
2023-03-17 23:48:24 +08:00
committed by GitHub

View File

@@ -48,7 +48,7 @@ export const BlogPostCardInfo = ({ post, showPreview, showPageCover, showSummary
{/* 搜索结果 */}
{post.results && (
<p className="mt-4 text-gray-700 dark:text-gray-300 text-sm font-light leading-7">
<p className="two-line-clamp mt-4 text-gray-700 dark:text-gray-300 text-sm font-light leading-7">
{post.results.map(r => (
<span key={r}>{r}</span>
))}