Skip to content

Fix logo cut off at phone width - #1199

Merged
benrfairless merged 1 commit into
stagingfrom
bugfix/1190-logo-cut-off-phone-width
Nov 30, 2026
Merged

benrfairless merged 1 commit into
stagingfrom
bugfix/1190-logo-cut-off-phone-width

Conversation

@benrfairless

@benrfairless benrfairless commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

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-position nudge 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

  • Bug fix

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.

  • Checked the affected area on my own or a staging system
  • Ran the automated tests
  • Ran /code-review (or equivalent): fixed any concerns (and rechecked), linked follow-up issues above, or noted why they are not important above
  • GitHub Actions tests: likewise fixed so they pass or linked a follow-up issue / replied why not important directly on each comment (reviewer will mark resolved as part of review)
  • Documentation updated, or not needed

Not 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

- 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 benrfairless self-assigned this Nov 30, 2026
@github-project-automation github-project-automation Bot moved this to Backlog - General in Right to Know Nov 30, 2026
@benrfairless
benrfairless marked this pull request as ready for review November 30, 2026 00:19
@benrfairless
benrfairless requested a review from a team as a code owner November 30, 2026 00:19
@benrfairless
benrfairless merged commit 2015361 into staging Nov 30, 2026
7 of 8 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog - General to In review in Right to Know Nov 30, 2026
@benrfairless
benrfairless deleted the bugfix/1190-logo-cut-off-phone-width branch November 30, 2026 00:23
@github-project-automation github-project-automation Bot moved this from In review to Done in Right to Know Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Bug: logo is cut off on the left at phone width

2 participants