From 19b47b11a42ea5a43253a70bbe597423ab8af156 Mon Sep 17 00:00:00 2001 From: xfy Date: Thu, 9 Jul 2026 14:36:57 +0800 Subject: [PATCH] =?UTF-8?q?style(admin):=20=E7=BC=A9=E5=B0=8F=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=E8=8F=9C=E5=8D=95=E5=B7=A6=E5=8F=B3=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit aside 容器 p-6 → p-4,菜单整体向两侧收紧 --- src/components/admin_layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/admin_layout.rs b/src/components/admin_layout.rs index dc53662..3903c05 100644 --- a/src/components/admin_layout.rs +++ b/src/components/admin_layout.rs @@ -74,7 +74,7 @@ pub fn AdminLayout() -> Element { let root_class = "min-h-dvh flex bg-[var(--color-paper-entry)] text-[var(--color-paper-primary)] font-sans"; let nav_content = rsx! { - aside { class: "w-64 flex-shrink-0 hidden md:flex flex-col h-screen sticky top-0 p-6 bg-[var(--color-paper-entry)]", + aside { class: "w-64 flex-shrink-0 hidden md:flex flex-col h-screen sticky top-0 p-4 bg-[var(--color-paper-entry)]", // Logo div { class: "mb-10 px-4", Link {