Repository navigation
fix(website): align the header and sections with the wide hero - #198
Merged
Merged
Conversation
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.
On the merged homepage at 2560 × 1440, the logo started at x=700 while the headline started at x=656. The GitHub link also sat 44 CSS pixels inside the example's right edge. The hero alone switched to the wider layout at 1440 × 896.
Use the existing wide hero width for the shared page container. The header, hero, sections and footer now follow the same left and right edges.
At double text size, the GitHub link could move off-screen or start a new row at the left. It now aligns itself to the right, and the navigation adapts its gaps to the available space. The example's view switch can wrap on small landscape screens.
The browser regression measures both outer edges on first load and after scrolling with enlarged text. It reproduced both header issues before their fixes. All 13 homepage checks and the production build pass locally. Chromium and WebKit each verified 28 window sizes at normal and double text size, before and after scrolling.
On Ubuntu Chromium at 320 pixels and double text size, the example filename extended the page to 324 pixels. Its label now wraps to two lines inside the panel, clear of the code below. A browser assertion checks that the filename fits.