Add 480px mobile breakpoint to commitment_kernel_demo_v7.html#2
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Mobile 480px breakpoint — runtime test resultsTested locally via Chrome DevTools device toolbar at 375 / 390 / 414 px (iPhone SE → 14 Plus) and a 1280 px desktop regression check. Triggered the cached scenario replay so post-Run elements ( Result: every requested rule fires at iPhone widths and reverts to desktop defaults at 1280px. No regressions. Computed-value assertions @ ≤ 480 px (verified at 375 / 390 / 414)
* K8 — a few Regression @ 1280 px — values revert to desktop defaults
Visual evidence
Recording of the full viewport walk (Mos2es + KASSA, 375 → 390 → 414 → 1280) — Tested by Devin. Session: https://app.devin.ai/sessions/e17816bc1cf948539681e001700f5e16 |
Summary
Adds a
@media (max-width: 480px)breakpoint todemo/commitment_kernel_demo_v7.htmlso the KASSA / S1-S2-S3 demo is readable on a phone during the Deel pitch event on May 5, 2026. CSS-only — no JS or layout-logic changes.Inside the new 480px block:
bodyfont-size → 14px (up from 13px).apppadding tightened to24px 14px 60px.header-title→ 18px (down from 24px so it stops wrapping awkwardly).preset-btn→min-width: unset; flex: 1 1 45%(4 presets land as a clean 2×2).run-btnpadding → 16px (bigger tap target).agent-out→ 12px.stage-name,.trace-title,.report-title→ 10px (up from 9px — readable at arm's length).t-ms→ 11px.tc-val→ 16px (down from 20px to prevent overflow).three-col→grid-template-columns: 1fr(re-asserted; 700px breakpoint already covers it).trace-bodymax-height → 200px (less scrolling on narrow screens)Tested at 375 / 390 / 414 px viewport widths.
Review & Testing Checklist for Human
demo/commitment_kernel_demo_v7.htmlon an actual iPhone (or DevTools at 375px) and verify the header doesn't wrap, the four preset buttons form a 2×2 grid, and the Run button is tappableNotes
All edits are confined to a single 480px media block at the bottom of the
<style>element. Easy to tweak in-event if any specific font size is still too small.Link to Devin session: https://app.devin.ai/sessions/e17816bc1cf948539681e001700f5e16
Requested by: @SunrisesIllNeverSee