From 1681b11af601b57180f18b31b2b47ee738157b89 Mon Sep 17 00:00:00 2001 From: GouJ Date: Sat, 26 Sep 2026 22:25:09 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=A2=9E=E5=8A=A0=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E5=8C=BA=E7=BB=9F=E4=B8=80=E6=A8=A1=E5=9D=97=E9=97=B4=E8=B7=9D?= =?UTF-8?q?=E4=B8=8E=E9=9D=A2=E6=9D=BF=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/admin.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/styles/admin.css b/src/styles/admin.css index 7f55570..1efeabc 100644 --- a/src/styles/admin.css +++ b/src/styles/admin.css @@ -142,6 +142,23 @@ body { .overview-content { padding-bottom: 8px; } +/* 工作区正文统一使用 20px 模块节奏;面板内边距由公共类控制,业务页不再上下左右各写一套。 */ +.workspace-section-stack { + display: flex; + flex-direction: column; + gap: 20px; +} +.workspace-section-stack > * { + margin-block: 0 !important; +} +.workspace-panel { + padding: 20px; + background: var(--app-subtle); +} +.workspace-panel + .workspace-panel { + margin-top: 20px; +} + /* 目录统一为固定标题/筛选区和独立滚动列表;不再依赖按钮的默认行高与内边距。 */ .directory-panel { --app-field: var(--app-surface);