fix(layout): pin sidebar left and stabilize width across viewports#22
fix(layout): pin sidebar left and stabilize width across viewports#22charlesrhoward merged 1 commit intomainfrom
Conversation
Replace the fit-content(270px) grid track override that collapsed the sidebar to min-content at 1440 and below, and grow --fd-layout-width so Fumadocs' outer 1fr gutters don't center the frame on ultra-wide monitors. Content article keeps its own max-w-[900px] mx-auto cap. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Mogplex PR ReviewStatus: No material issues found SummaryClean, focused layout fix. The root cause diagnosis is correct — No critical or warning-level issues. A couple of low-level observations below. Suggestions
Verdict✅ APPROVE — The change is correct, minimal, and well-documented. The test plan covers the right viewports. Affected files:
|
Summary
fit-content(270px)override on--fd-sidebar-col/#nd-sidebar— in Fumadocs' grid-template-columns track it collapsed to the nav items' min-content at 1440 and below, producing letter-stacked labels.--fd-layout-width: 200remso Fumadocs' main track absorbs the excess at ultra-wide viewports instead of letting the outer1frgutters center the frame and push the sidebar inward.[data-sidebar-panel]hide — collapsed-panel shell still mounts on desktop.The content article still caps at
max-w-[900px] mx-autovia Fumadocs itself, so prose width is unaffected.Test plan
🤖 Generated with Claude Code