From 19c08360cac661d454b635401a8bacaeacee7eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=BD=E5=B7=A5=E5=91=98?= <4846a27a-ba87-49c9-939d-7275f63efcc7@agents.multica.local> Date: Sat, 22 Aug 2026 17:18:38 +0800 Subject: [PATCH] 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 --- app/frontend/pages/mentor/foundation.css | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/frontend/pages/mentor/foundation.css b/app/frontend/pages/mentor/foundation.css index e517a5e..fbb4d4d 100644 --- a/app/frontend/pages/mentor/foundation.css +++ b/app/frontend/pages/mentor/foundation.css @@ -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;