diff --git a/src/shell/amis-theme.css b/src/shell/amis-theme.css index c823f2b..b4c0d22 100644 --- a/src/shell/amis-theme.css +++ b/src/shell/amis-theme.css @@ -460,3 +460,13 @@ .amis-scope .cxd-Form-item.is-required:not(:has(.cxd-Form-value input, .cxd-Form-value textarea, .cxd-Form-value .cxd-Select)) .cxd-Form-star { display: none; } + +/* ============================================================================ + 15. 隐藏冗余的页标题栏 — 2026-06-15 + 顶部多 Tab 已显示页名,页内 .cxd-Page-title 重复、白占 ~45px 垂直空间(ERP 该省)。 + 实测页头(.cxd-Page-header)仅含标题、无工具栏 → 整条隐藏;用 :has 保留少数含 + .cxd-Page-toolbar(页级操作)的页头,避免误伤。crud 自带 headerToolbar 不受影响。 + ============================================================================ */ +.amis-scope .cxd-Page-header:not(:has(.cxd-Page-toolbar)) { + display: none; +}