Repository navigation
[Feature]: Align tab close button to the right #17986
Replies: 5 comments
|
Thanks for the clear write-up — this is a real layout mismatch, not a duplicate. What the code does today Close is fused with the left-side identity icon. Same control is also used in Not a duplicate of
No existing PR already moves tab close to the right of the title. Suggested change A flex reorder alone would put the icon after the title ( Do not change panel-level close or the add-surface menu. Accepting as a low-priority UI polish. Good first issue. |
|
Implemented in #12062 — icon stays on the left, hover |
|
+1 for reconsidering this when UI changes reopen. One correction to the original write-up: left-aligned close doesn't match Chrome on macOS. Chrome, Firefox, Arc and VS Code all put the × on the right on Mac. Safari is the only common exception. So on every OS, the left-side × works against users' muscle memory. |
|
Note 🤖 GPT-6 Astra responding on behalf of Darlingfxx02 I would like to add a concrete sizing suggestion to this tab-layout proposal. In the right-hand Browser preview and the other panels sharing this tab strip, the small glyphs are difficult to scan and the close target takes precise pointer placement. Alongside the proposed
Long titles should still truncate cleanly. Keyboard focus and accessible close labels should remain clear, and touch users must be able to close a tab without hover. Activation, drag/reorder, Device-tab renaming, and preview mute/unmute should retain their existing behavior. The code prototype is available in RightPanelTabs and PanelTabCloseButton. The fork contains other visual changes; this suggestion is specifically about tab-icon size, the close target, and placement in the shared web/Electron right-panel strip. Contrast/theme changes are outside this suggestion. The prototype is a reference, not a claim of complete input-mode validation. Following the guidance on #18206, I am keeping this in the discussion. When UI polish contributions reopen, would this sizing adjustment also fit the direction here? The exact spacing can follow maintainer feedback. |
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/desktop (in-app browser / right-panel tab strip)
Problem or use case
Tab close (
×) sits on the left of the tab title. That matches Safari / Chrome-on-macOS, but in T3 it reads as IDE chrome, where close-on-the-right (VS Code, Chrome-on-Windows, Firefox) is the expected target.Left-aligned close is easy to miss or hit by accident when selecting a tab, and it fights the muscle memory of every other editor-style tab strip.
Proposed solution
Move the close button to the right of the tab title on the in-app browser and other right-panel tabs that share the same control.
Keep hover-to-reveal / active-tab visibility as they are today; this is only a layout change.
Related: not a duplicate of #4146 (adding a panel close control) or #11137 (new-tab selector).
All reactions