Compare commits

..
Author SHA1 Message Date
施工员andmultica-agent 19c08360ca fix: align mentor header right-side icons with other pages
Remove the stale body[data-active-view="mentorView"] .app-page-context
override from the mentor page stylesheet. It was added to widen the shell
title slot for the mentor subtitle, but the shared shell owner
(.main .app-header .app-page-context) already drives that slot with higher
specificity, so the page override was dead and only left a page-scoped rule
on a shared shell element. Deleting it lets mentor reuse the same canonical
shell header as every other page, keeping the right-side header actions
flush with the right edge.

Co-authored-by: multica-agent <github@multica.ai>
2026-08-22 17:18:38 +08:00
5 changed files with 8 additions and 24 deletions
+4 -4
View File
@@ -370,9 +370,9 @@
}
],
"css_layers": [
"/shared/tokens.css?v=20260820-4",
"/shared/tokens.css?v=20260820-3",
"/shared/base.css?v=20260806-1",
"/shared/shell.css?v=20260822-2",
"/shared/shell.css?v=20260820-8",
"/shared/auth.css?v=20260820-5",
"/shared/components/controls.css?v=20260820-2",
"/shared/components/navigation.css?v=20260820-1",
@@ -451,8 +451,8 @@
},
{
"path": "frontend/shared/shell.css",
"bytes": 63656,
"lines": 3761
"bytes": 63550,
"lines": 3757
},
{
"path": "backend/features/heaven/engine.py",
+2 -2
View File
@@ -17,9 +17,9 @@
document.documentElement.style.colorScheme = theme;
})();
</script>
<link rel="stylesheet" href="/shared/tokens.css?v=20260820-4">
<link rel="stylesheet" href="/shared/tokens.css?v=20260820-3">
<link rel="stylesheet" href="/shared/base.css?v=20260806-1">
<link rel="stylesheet" href="/shared/shell.css?v=20260822-2">
<link rel="stylesheet" href="/shared/shell.css?v=20260820-8">
<link rel="stylesheet" href="/shared/auth.css?v=20260820-5">
<link rel="stylesheet" href="/shared/components/controls.css?v=20260820-2">
<link rel="stylesheet" href="/shared/components/navigation.css?v=20260820-1">
-12
View File
@@ -1,17 +1,5 @@
/* Canonical CSS owner: mentor. Historical layers consolidated 2026-08-02. */
body[data-active-view="mentorView"] .app-page-context {
max-width: 560px;
min-width: 180px;
overflow: visible;
}
body[data-active-view="mentorView"] .app-page-context span {
overflow: visible;
white-space: normal;
text-overflow: unset;
}
#mentorView.workspace-view {
--qp-bg-header: #F5F6F7;
--qp-bg-sidebar: #FFFFFF;
+1 -5
View File
@@ -1294,7 +1294,7 @@ body.sidebar-collapsed {
}
.sidebar-brand {
min-height: var(--topbar-height);
min-height: 55px;
display: flex;
@@ -3755,7 +3755,3 @@ body.mobile-shell[data-active-view="heavenView"] .app-header .overview-strip[dat
overflow: hidden;
}
body[data-active-view="heavenView"] .app-header .header-actions {
margin-left: auto;
}
+1 -1
View File
@@ -58,7 +58,7 @@
--size-sidebar: 200px;
--size-topbar: 64px;
--size-summary: 0px;
--size-statusbar: 38px;
--size-statusbar: 28px;
--size-page-pad-y: 14px;
--size-page-pad-x: 16px;
--size-card-gap: 12px;