Repository navigation
fix(access): Studio permission matrix — Bulk column reachable at narrow widths (#2600 B3) - #2652
Merged
Merged
Conversation
… at narrow widths (#2600 B3) At ~800px the matrix table (`w-full`, no min-width) squished the CRUD grid and pushed the rightmost Bulk column (读/增改删/全选/清空) off the right edge with no scroll affordance — its enclosing container is `overflow-auto`, but the table never grew past the viewport so there was nothing to scroll to. Give the table a `min-w-[960px]` (object 288 + 9×56 CRUD + 176 bulk) so it keeps its natural column widths and the container scrolls horizontally instead, surfacing a real scrollbar and making the Bulk column reachable. Wide-viewport layout is unchanged (min-width < available width). Verified live at 820px: the table is 960px in a 612px scroll container (canScrollX), and scrolling right brings the full Bulk column into view. The header now truncates gracefully rather than overlapping (B1 already collapsed the identity strip), so no PageShell change is needed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
8 tasks done
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.
What
Issue #2600 · B3 (设计迭代 · 窄宽 ≈800px 布局) — at ~800px the matrix table (
w-full, no min-width) squished the CRUD grid and pushed the rightmost 批量 column (读/增改删/全选/清空) off the right edge with no scroll affordance: the container isoverflow-auto, but the table never grew past the viewport, so there was nothing to scroll to.Change
min-w-[960px](object 288 + 9×56 CRUD + 176 bulk) so it keeps natural column widths and the enclosingoverflow-autocontainer scrolls horizontally instead — a real scrollbar appears and the 批量 column becomes reachable. Wide-viewport layout is unchanged (min-width < available width).Scope note
The other B3 sub-items were assessed and deliberately left:
Verify (live, 820px)
canScrollX: true).Tests
CSS-class-only change; matrix + Studio guard suites still green (38 tests). No layout-assertion test added (brittle, low value).
🤖 Generated with Claude Code