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 {