Skip to content

fix(tabs): Prevent tab header layout shift from spinner#44

Merged
eyelock merged 1 commit into
mainfrom
fix/tab-layout-shift
Jan 16, 2026
Merged

fix(tabs): Prevent tab header layout shift from spinner#44
eyelock merged 1 commit into
mainfrom
fix/tab-layout-shift

Conversation

@eyelock
Copy link
Copy Markdown
Owner

@eyelock eyelock commented Jan 16, 2026

Summary

  • Fix visual layout jump when processing spinner appears/disappears in tab headers
  • Reserve fixed width for action buttons area to maintain consistent tab width
  • Spinner now fits within allocated space without causing tab content to shift

Test plan

  • Open multiple terminals in tabs
  • Trigger processing activity (commands that produce output)
  • Verify tab width doesn't jump when spinner appears/disappears
  • Verify all tab elements still display correctly

🤖 Generated with Claude Code

Consolidate terminal icon, processing spinner, and attention indicator
into a fixed-width container. States now replace each other in the
same space, preventing layout shifts.

- Fixed 14x14 icon area that never changes size
- Processing: spinner replaces terminal icon
- Needs attention: bell icon replaces terminal icon
- Default: terminal icon colored by column
- Title and action buttons stay in fixed positions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@eyelock eyelock merged commit 7c4c6fe into main Jan 16, 2026
5 checks passed
@eyelock eyelock deleted the fix/tab-layout-shift branch January 16, 2026 13:35
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