Skip to content

Fix mobile shell-bar wrapping into a tall stack#11

Merged
falkoro merged 1 commit into
masterfrom
fix/shell-bar-mobile-scroll
May 30, 2026
Merged

Fix mobile shell-bar wrapping into a tall stack#11
falkoro merged 1 commit into
masterfrom
fix/shell-bar-mobile-scroll

Conversation

@falkoro
Copy link
Copy Markdown
Owner

@falkoro falkoro commented May 30, 2026

The one-line shell-bar redesign (#9) regressed on mobile: the desktop .shell-tabs{flex-wrap:wrap} leaked into the mobile breakpoint, so the narrow one-line tabs wrapped onto 7 separate rows (~375px tall) and the intended horizontal swipe scroller never engaged (scrollWidth == clientWidth).

Fix: flex-wrap:nowrap (+ align-items:center) on the mobile .shell-tabs so the tabs sit in a single row you swipe through.

Verified at 390×844: 1 row, bar ~63px, scrollWidth 1724 > clientWidth 354 (horizontally scrollable).

🤖 Generated with Claude Code

The desktop `.shell-tabs{flex-wrap:wrap}` leaked into the mobile breakpoint, so
the new one-line tabs wrapped onto 7 separate rows (~375px tall) and the
horizontal scroller never engaged. Force `flex-wrap:nowrap` (+ center alignment)
on the mobile bar so the tabs sit in one row you swipe through, as intended.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 30, 2026 18:45
@falkoro falkoro merged commit e06a79e into master May 30, 2026
@falkoro falkoro deleted the fix/shell-bar-mobile-scroll branch May 30, 2026 18:45
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the mobile shell tab bar layout so shell tabs remain in one horizontally scrollable row instead of wrapping into a tall stack.

Changes:

  • Overrides the desktop tab wrapping behavior at the mobile breakpoint with flex-wrap: nowrap.
  • Centers mobile shell-tab contents vertically with align-items: center.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants