Commit 4002c27
committed
Playground panels stack earlier — runner-grid collapses at 980px
The unified 780px breakpoint was right for the lp-cell layout
(prose 38ch + code stack 72ch ≈ 656 px minimum content) but too
narrow for the playground: the editor needs ≥ 18rem (288 px) and
the output panel min-height is 18rem too. At 781-980 px viewport
the two runner-panel columns each got squeezed to ~150 px wide,
which wrapped code into 4-character lines (the user's screenshot
showed "missing = None" with every word on its own line).
Added a dedicated breakpoint:
@media (max-width: 980px) { .runner-grid { grid-template-columns: 1fr; } }
Below 980 px viewport the editor and output stack vertically; the
editor gets the full column width. Above 980 px the original
1.25fr / 0.75fr split holds.
The 780 px cell-collapse breakpoint is unchanged — the cells have
different content minima and the right-hand boundary for their
collapse is genuinely 780, not 980. Two breakpoints, each fired by
its content's actual minimum width, which is the impeccable rule.1 parent 2c03a52 commit 4002c27
3 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
0 commit comments