fix(ui): fix cramped stats grid on smaller screens#927
fix(ui): fix cramped stats grid on smaller screens#927danielroe merged 1 commit intonpmx-dev:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
There was a problem hiding this comment.
Pull request overview
Adjusts the responsive column layout of the package “Stats” grid to avoid overly cramped cells on small screens while preserving the denser 11-column layout on medium screens and up.
Changes:
- Reduce the
smbreakpoint grid from 11 columns to 7 columns. - Restore 11 columns at the
mdbreakpoint to keep the wider-screen layout.
📝 WalkthroughWalkthroughThe pull request modifies the responsive grid layout configuration in the Package details page component. Specifically, the Stats grid styling has been updated to change the small screen breakpoint from 🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Reviews will stop working after February 8, 2026 if the new IP is not added to your allowlist. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Before, stats grid had 11 columns from 640px. This resulted in cramped ui:
After, we create fewer columns on
sm:And only after we have more space on
md, we add 11 columns back: