portal: Fix sidebar spacing on top#8666
Conversation
|
|
@MananTank is attempting to deploy a commit to the thirdweb Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughTwo sidebar layout adjustments: removed top padding from DocSidebar header, and introduced an Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 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 |
Fixes spacing issue on sidebar
Before
After
PR-Codex overview
This PR focuses on enhancing the
SidebarItemcomponent by adding anisFirstprop to manage specific styling for the first item in the sidebar.Detailed summary
isFirstprop toSidebarItemto indicate if it is the first item.DocSidebarNonCollapsiblecomponent to apply conditional styling based on theisFirstprop.SidebarItemin multiple places to pass theisFirstprop.Summary by CodeRabbit