← ClaudeAtlas

rjv-viewport-targetslisted

Viewport targets for web UI: which screen sizes a design must work on, including short laptop windows (1366 × 768 gives a 1351 × 625 page), and how to adapt to height with fit-screen variants without touching tall screens. Use when designing or reviewing a hero, first screen, sign-in, app shell or dialog; when content is cut off on a laptop; when choosing breakpoints, a height media query or svh; or when listing the sizes to screenshot. Phone-only fixes (tap highlight, safe areas, input zoom) are emil-mobile-native.
rjvim/ai-skills · ★ 0 · Web & Frontend · score 61
Install: claude install-skill rjvim/ai-skills
# Viewport targets Designers work on tall Retina screens. Many users do not. A design is checked against the sizes its audience actually has, height included, and adapts to a short window without changing the tall one. ## 1. Write the target matrix Before designing, write the matrix into the project's spec or rulebook. Start from this default and change rows only with evidence about the audience (analytics, StatCounter for the market): | Row | Viewport (CSS px) | Comes from | |---|---|---| | Phone | 390 × 844 | iPhone 12 to 16 | | Short phone | 375 × 553 | iPhone SE, page after browser bars | | Short laptop | 1351 × 625 | 1366 × 768 laptop, Edge on Windows 11 | | Short laptop | 1280 × 680 | 1280 × 800 laptop; also 1920 × 1080 at 150% scaling (about 1280 × 610) | | Standard | 1440 × 900 (page about 1440 × 790) | MacBook Air | | Tall | 1728 × 1000 | MacBook Pro 16, where most designs are drawn | The viewport is the page area after the taskbar and browser bars, not the screen size. Windows display scaling (125%, 150%) divides the screen by the scale. 1366 × 768 is about 18% of desktop screens in India and about 10% worldwide (StatCounter, 2026-09). Done when the matrix is written where every agent on the project reads it. ## 2. Decide what must fit | Region | Rule | |---|---| | Composed first screen: hero, sign-in, onboarding step, app shell's first view, a dialog | fits every matrix row at scroll position zero: its heading, its line, its primary action and its key visua