mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
Reduce the gap between sidebar section labels such as Build and their first links. Section labels now use 24px rows instead of inheriting the 34px navigation-link height; link sizes and spacing between groups stay unchanged. Production docs build, CSS formatting, frontmatter validation, sidebar sort/link validation, and desktop/mobile visual checks passed. The existing expired Context engineering new badge is the only sidebar validator failure. The implementation diff is five CSS lines. <table><tr><th>Before</th><th>After</th></tr><tr><td><img src="https://raw.githubusercontent.com/mastra-ai/mastra/a8903c0f89a6cde464592c88632489a7d168260f/before.png" alt="Before: 34px sidebar group headings" width="300"></td><td><img src="https://raw.githubusercontent.com/mastra-ai/mastra/a8903c0f89a6cde464592c88632489a7d168260f/after.png" alt="After: 24px sidebar group headings" width="300"></td></tr></table> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## ELI5 Sidebar section headings now take up less vertical space, so they look more compact. Navigation links and the spacing between groups stay the same. ## Changes - Set sidebar group heading links to a fixed height of `1.5rem` with no vertical padding. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2006 lines
51 KiB
2006 lines
51 KiB