From 5c37b17cb8d6015b3b56043bbc3f1eef3c477e49 Mon Sep 17 00:00:00 2001 From: xfy Date: Wed, 8 Jul 2026 17:25:39 +0800 Subject: [PATCH] fix(admin): align runner page width with other admin pages runner.rs was the only admin page using max-w-5xl (1024px) while all others (system/comments/dashboard/posts/posts_trash/write) use max-w-7xl (1280px). The page's own comment claimed to align with dashboard/posts/system but the width class contradicted that. --- src/pages/admin/runner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/admin/runner.rs b/src/pages/admin/runner.rs index 4838459..7d76df6 100644 --- a/src/pages/admin/runner.rs +++ b/src/pages/admin/runner.rs @@ -51,7 +51,7 @@ pub fn Runner() -> Element { let (overrides, override_error) = (parsed.read().0.clone(), parsed.read().1.clone()); rsx! { - div { class: "w-full max-w-5xl mx-auto space-y-8", + div { class: "w-full max-w-7xl mx-auto space-y-8", // 页头:与 dashboard / posts / system 对齐(h1 text-4xl + 底部分割线) div { class: "flex flex-col md:flex-row md:items-end justify-between gap-6 pb-8 border-b border-[var(--color-paper-border)]/50", div {