Skip to content

Move the sidebar links menu to the footer - #340

Merged
bashybaranaba merged 1 commit into
mainfrom
agent/docs-sidebar-menu
Sep 2, 2026
Merged

Move the sidebar links menu to the footer#340
bashybaranaba merged 1 commit into
mainfrom
agent/docs-sidebar-menu

Conversation

@bashybaranaba

Copy link
Copy Markdown
Member

The collapse control and the "..." links menu were sharing the top-right of the sidebar. Now the collapse control has that corner to itself, and the links menu sits at the bottom-right, opposite the theme toggle.

DocsLayout renders its own links menu beside the wordmark whenever it is given links or githubUrl, and there is no prop to move or suppress it. Both are withheld and the same LinksMenu is passed through sidebar.footer instead. That also keeps the links reachable on mobile — DocsLayout would otherwise scatter them between a md:hidden list in the page tree and md:hidden icons in the footer, both of which disappear along with links.

Verified over CDP at 1000px: the collapse toggle sits at the top-right of the sidebar (y 20–52, right edge 259 of 268) and the menu at the bottom-right (y 629–661, sidebar bottom 673). The menu opens upward with all three entries — Web app, Status, GitHub — and stays displayed in the mobile drawer.

🤖 Generated with Claude Code

The collapse control and the links menu were sharing the top-right of the
sidebar. The collapse control now has that corner to itself and the "..."
menu sits at the bottom-right, opposite the theme toggle.

DocsLayout renders its own links menu beside the wordmark whenever it is
given `links` or `githubUrl`, so both are withheld and the same menu is
passed through `sidebar.footer` instead — which also keeps the links
reachable on mobile, where DocsLayout would otherwise have scattered them
between the page tree and the footer.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
agent-commons Ready Ready Preview Sep 2, 2026 12:26pm UTC
agent-commons-commons-docs Ready Ready Preview Sep 2, 2026 12:26pm UTC
commons-courses Ready Ready Preview Sep 2, 2026 12:26pm UTC

Request Review

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