This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
fix(components): select-all, the row checkboxes and the row numbers share one centre line (objectui#13293) - #13294
Merged
Merged
Conversation
…hare one centre line (objectui#13293) With row numbers on, the rows centred their checkbox over the whole leading cell and their number over its content box, while the header left-aligned select-all. The base cell drops the right padding of any cell holding a checkbox, so the content box is 12px/0 and the three landed on three different lines. The leading cells now drop their side padding when row numbers are on and select-all is centred like the rows; without row numbers nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XV4S9ReSgn5hj61n1VbimV
…objectui#13188 acceptance note) The objectui#13188 helper was inserted between that docblock and its function, so the docblock read as the helper's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XV4S9ReSgn5hj61n1VbimV
Contributor
✅ Console Performance Budget
The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it. 📦 Bundle Size Report
Size Limits
|
baozhoutao
marked this pull request as ready for review
October 21, 2026 02:55
baozhoutao
enabled auto-merge
October 21, 2026 02:55
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes #13293
What
With selection and row numbers both on, the leading column drew three things on three different vertical lines:
row-selectisabsolute inset-0 justify-center);text-center);px-3.The base
TableCell/TableHeaddrops the right padding of any cell holding a checkbox ([&:has([role=checkbox])]:pr-0), so the content box is 12px/0 and its centre sits 6px right of the cell's.Now, when
showRowNumbersis on, the leading header and body cells usepx-0and select-all is wrapped in aflex justify-center(data-slot="select-all"). Without row numbers nothing changes: everything stays at the cell start withpx-3.Measured in Chromium (leading cell 141px wide, frozen column on):
Also: puts
isPinnedRightColumn's docblock back above it. The objectui#13188 helper had been inserted between them (acceptance note (1) on that card). No code change.Tests
New
data-table-selectAllAlign-13293.test.tsx: select-all is centred exactly when the rows are, and the leading cells drop their side padding exactly then (bothshowRowNumbersvalues). Both cases fail without the fix. All 28data-table*test files pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01XV4S9ReSgn5hj61n1VbimV