fix(docs): restore category grids after TOC layout and trim ad slot#507
Conversation
Use @lg container queries on button, text, and widget index grids so two columns return with the TOC sidebar. Skip the empty TOC column when a page has no headings, and reduce Carbon ad reserved height. Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThe PR refines responsive documentation layouts and table-of-contents visibility. DocPage now computes TOC presence based on actual item count, multiple doc pages standardize grid breakpoints using container queries, and minor styling adjustments are made for visual consistency. ChangesResponsive Layout and TOC Visibility Refinements
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Deploying animata with
|
| Latest commit: |
4c11b50
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6b5ab59e.animata.pages.dev |
| Branch Preview URL: | https://fix-docs-grids-and-ads.animata.pages.dev |
Use @lg container queries on button, text, and widget index grids so two columns return with the TOC sidebar. Skip the empty TOC column when a page has no headings, and reduce Carbon ad reserved height.
Summary by CodeRabbit
Style
Documentation