From 5385bad9ec7091c2a3039701ad520e319600697c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=80=BB=E5=B7=A5?= Date: Thu, 10 Sep 2026 11:29:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(HEL-519):=20=E9=97=AE=E5=B8=88=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=A1=A5=E9=BD=90=E6=A0=87=E9=A2=98=EF=BC=8C=E6=B6=88?= =?UTF-8?q?=E9=99=A4=E5=8F=8C=E9=87=8D=E9=A1=B6=E9=83=A8=E7=95=99=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 取消 .mentor-page-header 的 display:none,按 .redesigned-page-head 的 上下间距规则(min-height 34px + margin-bottom 12px)显示已有的"问师"标题 与数据日期副标题,颜色/字号复用既有 qp-text-1/qp-text-3 令牌,日夜主题均生效 - 桌面态取消 workspace-view 顶部多加的 40px 占位留白(改回 var(--page-pad-y)), 避免留白+标题叠加造成双重间距;总顶部空间(14+34+12=60px)与其他已统一页面 (workspace-view padding + redesigned-page-head)完全一致 - 767px 及以下窄视口保持原有隐藏标题+40px留白行为不变,不引入未审视觉改动 - 未改动联系人列表/搜索/对话区/输入框/快捷按钮/底部栏/数据交互,问天板块未触碰 Co-authored-by: Cursor Co-authored-by: multica-agent --- frontend/pages/mentor/foundation.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/frontend/pages/mentor/foundation.css b/frontend/pages/mentor/foundation.css index 9c73f64..3e60698 100644 --- a/frontend/pages/mentor/foundation.css +++ b/frontend/pages/mentor/foundation.css @@ -49,7 +49,7 @@ body[data-active-view="mentorView"] .app-page-context span { height: 100%; min-height: 0; flex-direction: column; - padding: calc(var(--page-pad-y) + 40px) 0 0; + padding: var(--page-pad-y) 0 0; color: var(--qp-text-1); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; } @@ -100,7 +100,12 @@ body[data-active-view="mentorView"] .app-page-context span { } #mentorView .mentor-page-header { - display: none; + flex: 0 0 auto; + display: flex; + align-items: center; + min-height: 34px; + margin: 0 0 12px; + padding: 0 16px; } #mentorView .mentor-page-title { @@ -1360,6 +1365,10 @@ body[data-active-view="mentorView"] .app-page-context span { } @media (max-width: 767px) { + #mentorView.workspace-view { + padding: calc(var(--page-pad-y) + 40px) 0 0; + } + #mentorView .mentor-layout { grid-template-columns: minmax(0, 1fr); overflow: visible;