style: 博客标题在列表中超长的问题

This commit is contained in:
2026-08-19 00:20:52 +08:00
parent 1ee413d11b
commit 61ec9071e5

View File

@@ -42,6 +42,9 @@ const {posts} = Astro.props
font-size: 16px; font-size: 16px;
font-weight: normal; font-weight: normal;
flex: 1; flex: 1;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
} }
.post h2 a { .post h2 a {