Repository navigation
Pages wider than a phone: help tooltips past the edge, and a check that sees them (sc-8778) - #10
Merged
Merged
Conversation
VisualCIdocspring/visualci · build #118 · 2 changed, 291 unchanged · approved by visualci coordinator agent (MCP) for Nathan Broadbent
This PR vs base: 97 changed, 3 added since #90, across 3 builds
Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
phone-overflow
branch
from
December 2, 2026 05:08
1bacabb to
1e8695d
Compare
…den and centred on its button, so near a phone's right edge it widened the page (account 427px, build changes 411px; 1487px at 1440) and was cut off when open. It's now display: none while closed, and placed in the screen (fixed, clamped, below the button when there's no room above) when open on hover, focus or a tap. checks.mjs missed it because html and body clip sideways, so scrollWidth never grew: it now fails on anything laid out past the right edge outside a box that scrolls on its own, and names it
ndbroadbent
force-pushed
the
phone-overflow
branch
from
December 2, 2026 05:44
1e8695d to
ee04116
Compare
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.
sc-8778. The phone screenshots of the account page (427px) and a build with changes (411px, and 1487px at 1440) were wider than the screen, yet the overflow check in
scripts/screenshots/checks.mjspassed.overflow-x: clip), soscrollWidthnever grows. The content was laid out past the right edge and cut off, which is what the full-page capture measured. The check now fails on anything laid out past the right edge outside a box that scrolls on its own (a code block), names it, and waits for fonts like the capture.span.help-tip). It was centred on its button and laid out while hidden. Near a phone's right edge it widened the page, and once opened it was cut off for users too.display: none. Screen readers still read it through aria-describedby.Review: the account and build-changes screenshots lose their extra width: a blank strip on the right disappears.