From cad0e3d83b0c9befe3f0365c23be55df42609ae7 Mon Sep 17 00:00:00 2001 From: xfy Date: Fri, 3 Jul 2026 15:35:06 +0800 Subject: [PATCH] fix(admin): restrict write page width to match other pages --- src/pages/admin/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/admin/write.rs b/src/pages/admin/write.rs index 11be876..bf13ef4 100644 --- a/src/pages/admin/write.rs +++ b/src/pages/admin/write.rs @@ -401,7 +401,7 @@ fn write_editor(post_id: Option) -> Element { // 元信息表单复用样式见模块级 META_LABEL_CLASS / META_INPUT_CLASS。 rsx! { - div { class: "relative flex flex-col", + div { class: "relative flex flex-col w-full max-w-7xl mx-auto h-full", if loading() { div { class: "absolute inset-0 z-10 bg-paper-theme", WriteSkeleton {} } }