codex: limit ungrouped spaces to two columns on landing page#3540
codex: limit ungrouped spaces to two columns on landing page#3540theletterf wants to merge 1 commit into
Conversation
Reduces the outer grid from 3 to 2 columns so a lone ungrouped card leaves at most one empty slot per row instead of two. Groups with 2+ docsets now always span full width; their internal grid still renders up to 3 columns inside the group box. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Why
The Codex landing grid uses 3 columns for all items. When the number of ungrouped spaces doesn't divide evenly into 3, a lone card at the end of a row leaves two empty slots — a visually jarring gap.
What
The outer grid is reduced from
lg:grid-cols-3tomd:grid-cols-2. Ungrouped cards now flow in a 2-column layout, so an odd orphan leaves at most one empty slot. Groups with 2+ docsets are promoted tocol-span-full(they fill both outer columns), while their internal card grid still renders up to 3 columns inside the group box — so group density is unchanged.