@devries-cameron20 / t3code-1 / commits / 9d5e632d4d
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Tighten workspace control spacing in the header

- Align header controls with the 12px right inset - Use a smaller control offset in window controls overlay mode

Julius Marminge committed Jun 15, 2026 at 16:05 UTC 9d5e632d4d41ca3f6932506255134dc297ba0278
2 files changed +4 -8
apps/web/src/components/ChatView.browser.tsx
+2
@@ -2151,6 +2151,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
2151 ).toBe("no-drag");
2152 expect(chatHeader.classList.contains("drag-region")).toBe(false);
2153 expect(chatHeader.contains(panelLayoutControls)).toBe(true);
2154 + expect(window.innerWidth - panelLayoutControls.getBoundingClientRect().right).toBe(12);
2155 const initialTerminalRect = terminalToggle.getBoundingClientRect();
2156 const initialRightPanelRect = rightPanelToggle.getBoundingClientRect();
2157 const initialControlRects = [initialTerminalRect, initialRightPanelRect];
@@ -2172,6 +2173,7 @@ describe("ChatView timeline estimator parity (full app)", () => {
2173 expect(panelLayoutControls.getBoundingClientRect().top).toBe(
2174 chatHeader.getBoundingClientRect().top,
2175 );
2176 + expect(window.innerWidth - panelLayoutControls.getBoundingClientRect().right).toBe(12);
2177 document.documentElement.classList.remove("wco");
2178
2179 rightPanelToggle.click();
apps/web/src/index.css
+2 -8
@@ -11,20 +11,14 @@
11 --workspace-native-controls-inset: 0px;
12 }
13
14 -@media (width >= 40rem) {
15 - :root {
16 - --workspace-controls-right: calc(env(safe-area-inset-right) + 1.25rem);
17 - }
18 -}
19 -
14 .wco {
15 --workspace-topbar-height: env(titlebar-area-height, 52px);
16 --workspace-controls-top: env(titlebar-area-y, 0px);
17 --workspace-controls-right: calc(
24 - 100vw - env(titlebar-area-width, 100vw) - env(titlebar-area-x, 0px) + 1em
18 + 100vw - env(titlebar-area-width, 100vw) - env(titlebar-area-x, 0px) + 0.75rem
19 );
20 --workspace-native-controls-inset: calc(
27 - 100vw - env(titlebar-area-width, 100vw) - env(titlebar-area-x, 0px) + 1em
21 + 100vw - env(titlebar-area-width, 100vw) - env(titlebar-area-x, 0px) + 0.75rem
22 );
23 }
24