Skip to content

Improve list and gallery data block readability - #2015

Draft
jwalkingjew wants to merge 2 commits into
masterfrom
codex/data-block-card-typography
Draft

Improve list and gallery data block readability#2015
jwalkingjew wants to merge 2 commits into
masterfrom
codex/data-block-card-typography

Conversation

@jwalkingjew

Copy link
Copy Markdown
Collaborator

Summary

  • increase list and gallery entity titles from the 19px small-title token to the 21px card-title token
  • increase descriptions and displayed property values from 16px metadata text to the 18px list-item token
  • reduce the space above vote controls from 8px to 4px in both views
  • centralize the shared browse title class so list and gallery typography remain aligned

Why

List and gallery data-block cards were difficult to scan because entity names and descriptions rendered too small, while the vote controls had more vertical separation from the content than needed.

Impact

Entity names and supporting content are easier to read, and the vote row sits closer to each card's content in both list and gallery layouts.

Validation

  • Prettier check on all changed files
  • ESLint on all changed files
  • bunx tsc --noEmit --pretty false
  • git diff --check

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
geogenesis Ready Ready Preview Jul 17, 2026 7:32pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves readability and visual alignment for the table block’s list and gallery “browse” cards by increasing typography sizes for titles/body text and tightening spacing above vote controls.

Changes:

  • Increased browse body/value typography from metadata to list-item token sizing.
  • Centralized entity title styling via a shared LIST_GALLERY_BROWSE_TITLE_CLASS using the card-entity-title token.
  • Reduced the top margin above vote controls in both list and gallery items.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
apps/web/partials/blocks/table/table-block-property-field.tsx Updates browse property value/link typography to use the listItem token sizing.
apps/web/partials/blocks/table/table-block-list-item.tsx Uses shared browse title class and reduces vote-row top spacing in list layout.
apps/web/partials/blocks/table/table-block-gallery-item.tsx Uses shared browse title class and reduces vote-row top spacing in gallery layout.
apps/web/partials/blocks/table/table-block-browse-layout.ts Introduces shared browse title class and updates shared browse body typography token sizing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants