From 98e12e6308786b3f23c2b795fdec938b1bffd789 Mon Sep 17 00:00:00 2001 From: jackwener Date: Sat, 19 Sep 2026 02:54:45 +0800 Subject: [PATCH] fix(desktop): hide duplicate WorkHub return with expanded sidebar Generated-by: Codex --- apps/desktop/src/renderer/styles/composer.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/desktop/src/renderer/styles/composer.css b/apps/desktop/src/renderer/styles/composer.css index 70dc4523b5..50ca2d1ead 100644 --- a/apps/desktop/src/renderer/styles/composer.css +++ b/apps/desktop/src/renderer/styles/composer.css @@ -49,6 +49,12 @@ text-align: center; } +/* The expanded sidebar already exposes WorkHub. Keep this fallback only + when that navigation is collapsed, using the shell's sidebar authority. */ +.appFrame[data-sidebar-state='expanded'] .maka-return-workhub { + display: none; +} + /* Reaching the transcript tail fades the scroll-to-bottom control while the composer below it stays still. Both otherwise share the dock's filtered compositing surface, so Chromium may re-raster the thin context-gauge paths