Skip to content

Use CSS grid for table gutters instead of padding#117

Merged
Shrinks99 merged 2 commits into
mainfrom
use-grid-for-table-gutters
Jul 17, 2026
Merged

Use CSS grid for table gutters instead of padding#117
Shrinks99 merged 2 commits into
mainfrom
use-grid-for-table-gutters

Conversation

@Shrinks99

Copy link
Copy Markdown
Member

Previously space between grid cells was defined with padding:

Screenshot 2026-07-16 at 10 08 06 PM

This isn't ideal because it leads to double padding when grid items are next to eachother! We're taking up 2x the space that we need to!

Changes

  • Uses css grid gap instead of px-4 to determine the gutter width
Screenshot 2026-07-16 at 10 07 12 PM

@Shrinks99
Shrinks99 merged commit 58330be into main Jul 17, 2026
1 check passed
@Shrinks99
Shrinks99 deleted the use-grid-for-table-gutters branch July 17, 2026 02:14
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.

1 participant