Skip to content

[#771] Fix Reader holdings grid full width on mobile#777

Merged
realproject7 merged 1 commit intomainfrom
task/771-reader-grid-fullwidth
Apr 2, 2026
Merged

[#771] Fix Reader holdings grid full width on mobile#777
realproject7 merged 1 commit intomainfrom
task/771-reader-grid-fullwidth

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Changes grid container class from min-w-0 flex-1 to min-w-0 w-full sm:flex-1
  • On mobile (flex-col): w-full ensures the stat grid stretches to full card width
  • On desktop (sm:flex-row): sm:flex-1 fills remaining space beside the Moleskine
  • Matches the Portfolio grid's full-width appearance on mobile

Fixes #771

Test plan

  • Mobile (375px): 4-box grid spans full card width below Moleskine
  • Desktop: grid fills space beside Moleskine (unchanged)
  • npm run build passes

🤖 Generated with Claude Code

Change grid container from 'min-w-0 flex-1' to 'min-w-0 w-full sm:flex-1'
so on mobile (flex-col) the stat grid stretches to full card width,
matching the Portfolio grid above. On desktop (sm:flex-row), flex-1
still fills remaining space beside the Moleskine.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 2, 2026

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
plotlink Ignored Ignored Apr 2, 2026 7:31pm

Request Review

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

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

T2b APPROVE

Single class change flex-1w-full sm:flex-1. On mobile (stacked layout from #765's flex-col), w-full stretches grid to full card width. On desktop (sm:flex-row), sm:flex-1 preserves side-by-side layout. Clean fix. No concerns.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

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

Verdict: APPROVE

Summary

This PR fixes the Reader holdings mobile-width issue by making the grid container w-full on small screens while preserving the existing flex-fill behavior on sm+.

Findings

  • None.

Decision

Approving because the change is minimal, matches issue #771 directly, and addresses the mobile flex-layout constraint without changing the desktop layout.

@realproject7 realproject7 merged commit 085e179 into main Apr 2, 2026
5 checks passed
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.

[Bug] Reader tab: holdings 4-box grid not full width on mobile

2 participants