Revert "style(admin): 统一标题层级与页面排版"

This reverts commit b1f7589538.
This commit is contained in:
2026-11-02 19:54:36 +08:00
parent b1f7589538
commit bbfbc77b30
2 changed files with 54 additions and 163 deletions
+1 -62
View File
@@ -787,67 +787,7 @@
}
.admin-form {
margin-top: 0;
}
.admin-form-narrow {
max-width: 820px;
}
/* 每个后台页面统一的标题区 */
.admin-panel-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: var(--su-space-5);
padding-bottom: var(--su-space-4);
border-bottom: 1px solid var(--su-border);
margin-bottom: var(--su-space-2);
}
.admin-panel-heading {
min-width: 0;
}
.admin-panel-title {
margin: 0;
color: var(--su-text-main);
font-size: 20px;
font-weight: 700;
line-height: 1.3;
letter-spacing: -0.01em;
}
.admin-panel-desc {
max-width: 760px;
margin: var(--su-space-2) 0 0;
color: var(--su-text-muted);
font-size: var(--su-font-size-sm);
line-height: 1.65;
}
.admin-panel-actions {
display: flex;
flex: none;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: var(--su-space-2);
}
/* 表单标签统一加粗,避免组件默认字重在不同字体下发虚 */
.admin-panel label {
font-weight: 600;
}
.admin-inline-actions {
display: flex;
gap: var(--su-space-2);
}
.admin-form-divider {
margin: var(--su-space-1) 0;
border-top: 1px dashed var(--su-border-strong);
margin-top: var(--su-space-5);
}
.admin-row {
@@ -956,7 +896,6 @@
}
.admin-actions {
max-width: 820px;
margin-top: var(--su-space-6);
}