fix(HEL-519): 问师页面补齐标题,消除双重顶部留白
- 取消 .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 <cursoragent@cursor.com> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
co-authored by
Cursor
multica-agent
parent
955785b9fd
commit
5385bad9ec
Vendored
+11
-2
@@ -49,7 +49,7 @@ body[data-active-view="mentorView"] .app-page-context span {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: calc(var(--page-pad-y) + 40px) 0 0;
|
padding: var(--page-pad-y) 0 0;
|
||||||
color: var(--qp-text-1);
|
color: var(--qp-text-1);
|
||||||
font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
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 {
|
#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 {
|
#mentorView .mentor-page-title {
|
||||||
@@ -1360,6 +1365,10 @@ body[data-active-view="mentorView"] .app-page-context span {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
|
#mentorView.workspace-view {
|
||||||
|
padding: calc(var(--page-pad-y) + 40px) 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
#mentorView .mentor-layout {
|
#mentorView .mentor-layout {
|
||||||
grid-template-columns: minmax(0, 1fr);
|
grid-template-columns: minmax(0, 1fr);
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
|
|||||||
Reference in New Issue
Block a user