Commit 4a10e1f
fix(global): site-wide responsive overflow — body overflow-x: hidden + tables/pre scroll within themselves on mobile
User reported the cost-tables (Starlink fleet, region/connection, etc.)
plus likely other content overflowing the mobile viewport site-wide. The
in-template fix in bf26006 (Benchmarks.astro .table-scroll wrapper)
addressed the agent-loop tables but the cost-tables, v03-tables,
markdown-rendered tables in changelog + docs all had the same problem.
Site-wide global CSS fix instead of per-table wrappers:
1. body { overflow-x: hidden } — guarantees no single element forces
the page into horizontal scroll. Individual wide elements handle
their own overflow below.
2. @media (max-width: 900px):
- table:not(.table-scroll > table) → display: block + overflow-x:
auto. Catch-all for markdown-rendered tables (the changelog +
docs have many) plus the .cost-table + .v03-table sets inside
Benchmarks.astro that weren't wrapped in .table-scroll yet.
Wrapped tables (.table-scroll > table from bf26006) skip this
rule and keep their default display: table behaviour, which
gives cleaner column sizing.
- pre, code → overflow-x: auto. Long code blocks (the engine
install snippets, JSON examples) get the same treatment.
The on table is the standard responsive-table pattern
used by GitHub markdown CSS + Bootstrap .table-responsive — the
table-row / table-cell defaults INSIDE the table preserve cell
layout; only the outer table becomes a scrollable block.
900px breakpoint is wide enough to catch tablets in portrait mode
(common breakpoint for collapsing dense data tables).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent bf26006 commit 4a10e1f
1 file changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
53 | 90 | | |
54 | 91 | | |
55 | 92 | | |
| |||
0 commit comments