Skip to content

Fix docs banner pushing nav down#3282

Merged
jlowin merged 1 commit intomainfrom
fix/docs-banner-position
Feb 23, 2026
Merged

Fix docs banner pushing nav down#3282
jlowin merged 1 commit intomainfrom
fix/docs-banner-position

Conversation

@jlowin
Copy link
Copy Markdown
Member

@jlowin jlowin commented Feb 23, 2026

Our custom banner.css had position: relative !important which was overriding Mintlify's lg:fixed Tailwind class on the banner element. Mintlify's current layout expects the banner to be fixed-positioned on large screens, with a spacer div in the flow to compensate. The !important override kept the banner in-flow, so the page accounted for the banner height twice — creating a visible gap between the banner and the navigation bar.

Removing the position override lets Mintlify's responsive positioning work as intended.

@marvin-context-protocol marvin-context-protocol Bot added the bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. label Feb 23, 2026
@jlowin jlowin merged commit 37126d6 into main Feb 23, 2026
8 checks passed
@jlowin jlowin deleted the fix/docs-banner-position branch February 23, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant