style: 增加工作区统一模块间距与面板规范

This commit is contained in:
GouJ committed 2026-09-26 22:25:09 +08:00
1 parent 623dbc7f01
commit 1681b11af6
1 file changed
+17
+17
View File
@@ -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);