Skip to content

Run the mechanical width checks at 1440 too - #86

Draft
rudycelekli wants to merge 1 commit into
Nutlope:mainfrom
rudycelekli:fix/render-width-1440
Draft

rudycelekli wants to merge 1 commit into
Nutlope:mainfrom
rudycelekli:fix/render-width-1440

Conversation

@rudycelekli

Copy link
Copy Markdown
Contributor

references/responsive.md says the mechanical half runs at eight widths, including 1440: horizontal scroll and overflow-x: clip (34), wrapping controls (49), image tracks and display heads (50), radio tabs (53), stacked sticky elements (56). Gate 34 is "Horizontal scroll at any width 320 to 1920".

Those checks live in observe(), and observe() only runs on WIDTHS. That array was [320, 375, 414, 768, 1024, 1280, 1920]. The existing 1440×900 pass calls observeSpace(), which scores fold and space (F17, F18, 59, 69). It does not run the scroll or wrapping checks, so 1440 was a hole between 1280 and 1920.

WIDTHS is now [320, 375, 414, 768, 1024, 1280, 1440, 1920], the same list responsive.md names. Fold, contrast, and the sticky check stay on the 1280 pass (width === 1280). Screenshots stay at 1280 and 375. README already says "eight widths", so it is unchanged.

Verified with a node check that the array matches the eight numbers in responsive.md, and that the observe() call sits on the WIDTHS loop while observeSpace() stays on the separate 1440×900 / 1920×1080 loop.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Oct 25, 2026

Copy link
Copy Markdown

@rudycelekli is attempting to deploy a commit to the Together AI Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant