Skip to content

Commit

Permalink
Merge pull request tangly1024#893 from tangly1024/fix/hexo-multilines
Browse files Browse the repository at this point in the history
hexo-card-line-search
  • Loading branch information
tangly1024 committed Mar 17, 2023
2 parents 78bac42 + 3eeb0ab commit 720f2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/hexo/components/BlogPostCardInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
))}
Expand Down

0 comments on commit 720f2f7

Please sign in to comment.