ask-matt
MAmattpocock/skills337k4,978 new stars in the last 7 days
Responsive mobile reflow, breakpoint choreography, touch target sizing, overflow prevention, and small-screen data density rules. Load whenever building responsive pages, navigation bars, dashboards, tables, or forms.
Extends core rules U-11, U-24, and U-25. Desktop screens shrunk onto a 375px phone with clipped headlines, horizontal page scroll, and 24px buttons are a classic AI blind spot.
U-11)320px CSS width without causing document.documentElement.scrollWidth > window.innerWidth.min-width: 0 (minmax(0, 1fr) in CSS Grid, min-w-0 in Flex/Grid children) around code blocks, URLs, long identifiers, and charts so intrinsic content never blows out its parent track.clamp(2.1rem, 1.6rem + 3vw, 4.1rem)) prevents long words from clipping off the right viewport edge on narrow screens.U-24)44x44 CSS px of clickable hit area (min-height: 44px; min-width: 44px or invisible pseudo-element hit expansion), separated by at least 8px from adjacent actions.>= 16px (1rem) on mobile viewports so iOS Safari does not trigger jarring auto-zoom on input focus.100dvh (dynamic viewport height) instead of 100vh for full-height mobile drawers and hero shells so mobile browser address bars never clip bottom primary buttons, and respect env(safe-area-inset-bottom).U-25)Never squeeze a 6-column desktop table or 5-item horizontal toolbar into unreadable 9px columns on mobile:
<= 4 key attributes matter per row, transform rows below 640px into compact stacked ledger items (primary identifier + right-aligned tabular metric on top, secondary metadata underneath).<table> inside an explicit overflow-x: auto container with a sticky first column—never let the whole page scroll horizontally.7fr/5fr asymmetric splits and 3-column hairline matrices cleanly to 1fr single-column stacks below 840px, re-ordering visual proofs only when reading logic demands it.tabular-nums.MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
OBobra/superpowers331k4,772 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days