fix(www): align docs content with header logo below xl - #697
Open
mehdibha wants to merge 2 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
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.
What
Fixes docs content alignment between 768px and xl, where the misalignment was most visible on the wide (`full: true`) components and charts pages:
Why
Between 768px and lg there is no sidebar, so the content's left edge should line up with the navbar logo; from lg the sidebar and TOC rails need breathing room that the full-width pages didn't leave.
Verification
Measured live in the browser: logo and h1 both at 24px on /docs/components and /docs/charts at 768/900/975/1010; 44px sidebar→body gap at 1024–1050 and 58px at 1280 on full pages; narrow pages centered (unchanged at lg+). `pnpm check` and `pnpm typecheck` pass.