Skip to content

fix(workspace): give hovered tabs the active tab shape - #762

Merged
nixuuu merged 1 commit into
devfrom
fix/tab-hover-shape
Nov 14, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/tab-hover-shape

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 14, 2026

Copy link
Copy Markdown
Member

Hovered inactive tabs now take the active tab's shape (rounded top, full height, outward bottom curves into the content) instead of a small inset pill. The fill is the hover token, which sits on the other side of the chrome from the surface: lighter than the chrome in dark, darker in light, while the active tab is the surface colour. So hover previews the tab without reading as selected.

  • Shape: the active tab's body + reverse corners are shared; inactive tabs show them only on hover/focus-visible (fade with the motion tokens, off under reduced motion).
  • The hover fill is an inset box-shadow, so it covers the hairline separator (a background image) without replacing it.
  • The Thread tab no longer shows a tooltip that repeated its visible label ("Thread"); file tabs keep their path tooltip.

Related: #750

Checked with a rendered mock of the strip using the real theme tokens (dark and light, DPR 2: active Thread, hovered neighbour, hovered middle tab).

Copy audit (docs/copy.md §8)

Before After Reason
Tooltip "Thread" on the Thread tab — (removed) Repeated the visible label (§2 no repeated fact).

Checks: format:check, lint, web typecheck.

@nixuuu
nixuuu merged commit 91420db into dev Nov 14, 2026
19 of 21 checks passed
@nixuuu
nixuuu deleted the fix/tab-hover-shape branch November 14, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant