fix(ui): reduce spacing between checkbox and first column when few columns shown#14776
Merged
Merged
Conversation
Contributor
📦 esbuild Bundle Analysis for payloadThis analysis was generated by esbuild-bundle-analyzer. 🤖 |
paulpopus
approved these changes
Dec 1, 2025
Contributor
|
🚀 This is included in version v3.66.0 |
zubricks
pushed a commit
that referenced
this pull request
Jan 6, 2026
…lumns shown (#14776) ### What? Fixes checkbox column alignment in list views when only a few columns are selected. ### Why? When a collection has only a few columns visible in the list view, the checkbox column was expanding to fill excessive space. The table has `min-width: 100%` which forces it to fill the container width, and all columns have the same `min-width: 150px`, causing them to distribute the available space evenly. This created an awkward gap between the checkbox and the first data column. ### How? Sets the checkbox and drag handle column widths to `var(--base)` (20px) to match their actual content size. This is a CSS-only solution that keeps these columns compact regardless of how many columns are displayed, reducing the spacing to the first data column. #### Before <img width="1410" height="556" alt="Screenshot 2025-12-01 at 1 41 59 PM" src="https://github.com/user-attachments/assets/4a756bdb-8af3-44ed-9bad-1240e8f4fda5" /> <img width="1410" height="495" alt="Screenshot 2025-12-01 at 1 42 08 PM" src="https://github.com/user-attachments/assets/2560cd35-bc9a-4f82-a9ca-d353d0cd00b3" /> #### After <img width="1360" height="529" alt="Screenshot 2025-12-01 at 4 58 04 PM" src="https://github.com/user-attachments/assets/c17fbb8b-7d16-469e-ac3d-9cb7f27d82f4" /> <img width="1363" height="516" alt="Screenshot 2025-12-01 at 4 57 57 PM" src="https://github.com/user-attachments/assets/d3aa06dd-83b1-4f45-a64e-4eb288659809" /> Fixes #14741
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?
Fixes checkbox column alignment in list views when only a few columns are selected.
Why?
When a collection has only a few columns visible in the list view, the checkbox column was expanding to fill excessive space. The table has
min-width: 100%which forces it to fill the container width, and all columns have the samemin-width: 150px, causing them to distribute the available space evenly. This created an awkward gap between the checkbox and the first data column.How?
Sets the checkbox and drag handle column widths to
var(--base)(20px) to match their actual content size. This is a CSS-only solution that keeps these columns compact regardless of how many columns are displayed, reducing the spacing to the first data column.Before
After
Fixes #14741