Skip to content

fix(docs): add spacing between sidebar category groups#52

Merged
jonathanperis merged 1 commit into
mainfrom
fix/docs-sidebar-category-spacing
May 3, 2026
Merged

fix(docs): add spacing between sidebar category groups#52
jonathanperis merged 1 commit into
mainfrom
fix/docs-sidebar-category-spacing

Conversation

@jonathanperis
Copy link
Copy Markdown
Owner

@jonathanperis jonathanperis commented May 3, 2026

Summary

  • Add margin-bottom: 8px on .sidebar-category-group
  • Add margin-top: 4px on inner ul
  • Visually separates category sections in sidebar list

Changes

  • docs/src/styles/docs.css: +7 lines

Verification

  • npm run build

Summary by CodeRabbit

  • Style
    • Improved spacing and visual organization in the documentation sidebar for better readability.

Add margin-bottom on .sidebar-category-group and margin-top on
inner ul to visually separate category sections in sidebar
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 3, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: c4ac6765-e4f6-4e7d-b418-c9e607945a21

📥 Commits

Reviewing files that changed from the base of the PR and between d00a3f8 and f7c93d2.

📒 Files selected for processing (1)
  • docs/src/styles/docs.css

📝 Walkthrough

Walkthrough

Two CSS rules are added to the documentation stylesheet to control spacing within sidebar category groups: margin-bottom applied to the category group container and margin-top applied to the nested unordered list.

Changes

Sidebar Category Group Spacing

Layer / File(s) Summary
Styling
docs/src/styles/docs.css
Added .docs-layout .sidebar-category-group with margin-bottom: 8px and .docs-layout .sidebar-category-group ul with margin-top: 4px to improve sidebar visual spacing.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding spacing between sidebar category groups through CSS margin adjustments.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/docs-sidebar-category-spacing

Review rate limit: 0/10 reviews remaining, refill in 57 minutes and 1 second.

Comment @coderabbitai help to get the list of available commands and usage tips.

@jonathanperis jonathanperis enabled auto-merge (rebase) May 3, 2026 02:46
@jonathanperis jonathanperis merged commit 9761b43 into main May 3, 2026
5 checks passed
@jonathanperis jonathanperis deleted the fix/docs-sidebar-category-spacing branch May 3, 2026 02:47
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.

1 participant