From 61ec9071e5cd3fdae87fe423d1407c187a54ed06 Mon Sep 17 00:00:00 2001 From: xy <10816187@qq.com> Date: Wed, 19 Aug 2026 00:20:52 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=8D=9A=E5=AE=A2=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E5=9C=A8=E5=88=97=E8=A1=A8=E4=B8=AD=E8=B6=85=E9=95=BF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Post/List.astro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Post/List.astro b/src/components/Post/List.astro index e60aabb..457a896 100644 --- a/src/components/Post/List.astro +++ b/src/components/Post/List.astro @@ -42,6 +42,9 @@ const {posts} = Astro.props font-size: 16px; font-weight: normal; flex: 1; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; } .post h2 a {