Repository navigation
Fix logo cut off at phone width - #1199
Merged
Merged
Conversation
- Scale the header logo from its left edge instead of the centre of the 186px box, which pushed its left edge about 36px outside a 400px viewport - Size the box to the artwork (87px standard, 107px Pro) so scaling from the left adds no horizontal scroll - Drop the Pro logo's 10px background-position nudge, as both logos are now left-aligned Resolves #1190 Assisted-by: Claude Code:claude-sonnet-5-5
benrfairless
marked this pull request as ready for review
November 30, 2026 00:19
benrfairless
enabled auto-merge
November 30, 2026 00:21
Br3nda
approved these changes
Nov 30, 2026
7 of 15 tasks
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 and why
The header logo was cut off on the left at phone width, on both the standard and Pro headers. #1157 draws it with
scale(3)about the centre of a 186px box, but the artwork is narrower than the box, so its left edge landed about 36px outside a 400px viewport.This scales the logo from its left edge and sizes the box to the artwork (87px standard, 107px Pro), so scaling adds no horizontal scroll. The Pro logo's
background-positionnudge is removed because both logos are now left-aligned.Closes Bug: logo is cut off on the left at phone width #1190
The standard logo's right edge moves from about 222px to about 261px at desktop widths. It doesn't crowd the search box or sign-in link at 1280px.
Widths between 400px and 1280px, including the point where the header switches layout, were not checked.
Type of change
How this was checked
On the local Docker stack I loaded
/help/about(signed out) and/pro/dashboard(signed in as a throwaway Pro user) at 400px and 1280px wide. The whole logo is visible, there is no horizontal scroll, and the Pro logo's left edge lines up with the standard one./code-review(or equivalent): fixed any concerns (and rechecked), linked follow-up issues above, or noted why they are not important aboveNot run: the specs, because this is a CSS-only change that they don't cover, and the code review.
Assisted-by: Claude Code:claude-sonnet-5-5