From aa4f3389a3ff479de02f8b39dcba77ecbf89931d Mon Sep 17 00:00:00 2001 From: xy <10816187@qq.com> Date: Wed, 22 Jul 2026 00:22:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=94=99=E5=88=A0=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/archive.astro | 4 ++-- src/types/archive.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/archive.astro b/src/pages/archive.astro index da91457..af13844 100644 --- a/src/pages/archive.astro +++ b/src/pages/archive.astro @@ -59,8 +59,8 @@ const {data} = await http.get>("post/archive"); } .archive { - display: flex; - flex-direction: column; + max-width: 860px; + margin: 0 auto; } .archive-year { diff --git a/src/types/archive.ts b/src/types/archive.ts index 09c9ee1..5c4ee1d 100644 --- a/src/types/archive.ts +++ b/src/types/archive.ts @@ -9,12 +9,12 @@ type ArchivePost = { slug: string; title: string; published_at: string; + published_at_display: string; category_name: string; }; type ArchiveMonth = { month: number; - display_month: string; list: ArchivePost[]; };