Skip to content

fix(theme): make navbar width consistent with main layout on large di…#12070

Open
octacava wants to merge 1 commit into
facebook:mainfrom
octacava:fix/7562-navbar-width
Open

fix(theme): make navbar width consistent with main layout on large di…#12070
octacava wants to merge 1 commit into
facebook:mainfrom
octacava:fix/7562-navbar-width

Conversation

@octacava
Copy link
Copy Markdown

Pre-flight checklist

Motivation

Fixes #7562
On large displays, the navbar width expands to the edges of the screen, making it inconsistent with the main content area and footer which have a maximum width. This PR limits the navbar__inner maximum width to match the rest of the layout (using var(--ifm-container-width-xl)) and centers it, improving readability and scanning on ultrawide monitors.
(AI-assisted)

Test Plan

Tested locally by running the Docusaurus website and expanding the browser window to an ultrawide resolution. Verified that the navbar contents remain centered and aligned with the main page content layout.

Test links

N/A

Deploy preview: https://deploy-preview-_____--docusaurus-2.netlify.app/

Related issues/PRs

@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label May 26, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 26, 2026

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit f0d205b
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6a15a176bdf1580008899cff
😎 Deploy Preview https://deploy-preview-12070--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Making navbar width consistent with the main layout on large displays

1 participant