fix(style): broaden sidebar selector to match nav and div#638
Merged
Conversation
Mintlify's latest CLI emits the sidebar wrapper as <nav id="sidebar"> instead of <div id="sidebar">. The previous "div#sidebar" selector silently no-ops on the new markup, letting the sidebar drift away from the viewport edge. Dropping the tag qualifier keeps the rule working on both the current prod build (<div>) and the upcoming <nav> build. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
🎯 Vibe checkReviewed: 1 file — This PR changes only What the CSS does:
Rendering concerns worth a manual check:
No documentation content review is needed for this PR. 🔋 Credit usage
Files read: |
NiamhRelevance
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<nav id="sidebar">instead of<div id="sidebar">.div#sidebarrule instyle.csssilently no-ops against the new markup, leaving the sidebar drifting away from the viewport edge inmintlify dev.#sidebar) keeps the rule working on both the current prod build (<div>) and the upcoming<nav>build — so this is also a proactive fix for the next prod deploy.Test plan
mintlify dev— sidebar sits 2.5rem from the viewport edge (matches prod).<div>).🤖 Generated with Claude Code