Skip to content

Inset sidebar toggle chevrons so they clear the collapse button#429

Draft
AnnaXWang wants to merge 1 commit into
mainfrom
hypeship/docs-sidebar-chevron-spacing
Draft

Inset sidebar toggle chevrons so they clear the collapse button#429
AnnaXWang wants to merge 1 commit into
mainfrom
hypeship/docs-sidebar-chevron-spacing

Conversation

@AnnaXWang

Copy link
Copy Markdown
Contributor

Summary

The collapse-sidebar control (←|) is sticky in the top-right corner of the nav. The right-aligned toggle chevrons sit in that same column, so when a toggle row scrolls beneath the collapse button, its chevron is crammed right up against it.

This adds right padding to the toggle rows so the chevrons are inset from the edge and clear the collapse button — while staying clearly right-aligned.

Test plan

  • Verified in a local mintlify dev render: toggle chevrons now sit clear of the collapse button, still right-aligned; leaf items and the section-heading eyebrows are unaffected.

The collapse-sidebar control is sticky in the top-right corner of the nav,
so it crowded the right-aligned toggle chevron of whatever row scrolled
beneath it. Add right padding to the toggle rows to inset the chevrons.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Kernel 🟢 Ready View Preview Jun 30, 2026, 6:11 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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