fix(web): workspace view-tab strip no longer clips at ~1280px#152
Merged
Conversation
On the live site (which also shows the Collaborators status button), the 8 view tabs silently clipped at 1280px wide — the strip's overflow-x-auto + no-scrollbar hid the last tab (~30px) once the selector + Connected + Collaborators consumed the row. Measured live: group 578px > 548px available → 30px hidden. Trim the tab group's intrinsic width from 578px to 500px (fits 548 with ~48px headroom) without dropping labels: tighter button padding (px-3→px-2), tighter inner gaps/padding (gap-1→gap-0.5, p-2→p-1.5), smaller min-w, and right-size the oversized icons (lg:h-10/40px → lg:h-8/32px). Verified: typecheck + smoke 5/5, and the strip fits 1280/1366/1440/1680/1920 with no hidden tabs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
🧪 Comprehensive Test Suite
Full-stack smoke gate runs in the CI workflow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 8 view tabs silently clipped at 1280px on the live site (overflow-x-auto + no-scrollbar hid the last tab once selector + Connected + Collaborators took the row). Measured: tab group 578px > 548px available → 30px hidden.
Trim the group 578px → 500px (fits with ~48px headroom) without dropping labels: tighter padding/gaps/min-w + right-sized icons (lg 40px→32px). Verified strip fits at 1280/1366/1440/1680/1920; typecheck + smoke 5/5.
🤖 Generated with Claude Code