优化首页文章换行问题

This commit is contained in:
Han 2025-04-04 14:20:44 +08:00
parent 70ffbfd80c
commit f133016215

View File

@ -19,7 +19,7 @@ import "./ArticleCard.less";
<span class={`vh-article-cat vh-cat-${post.data.categories}`}>{post.data.categories}</span>
<h2 class="title vh-ellipsis">{post.data.title}</h2>
</header>
<p class="vh-article-excerpt vh-ellipsis-2">{description}</p>
<p class="vh-article-excerpt vh-ellipsis line-2">{description}</p>
<footer>{fmtTime(post.data.date)}</footer>
</section>
</a>