Repository navigation
Commit b45a39c
committed
fix: stop horizontal overflow on narrow viewports
At 390x844 the document scrolled sideways to 566px. Measured by
hiding elements in turn: the nav contributed 87px and, once the nav
wrapped, the crate and performance tables contributed the rest.
- .nav-inner and .nav-links now wrap below 640px, so seven links
flow instead of forcing one 411px row.
- The performance table gets its own class. Its first column holds
prose such as "Inference latency", and the crate-table nowrap rule
that suits package names made it 479px wide.
- Long package names such as terraphim-automata-node-rs wrap with
overflow-wrap: anywhere rather than setting the table width.
All changes are inside the existing 640px breakpoint; desktop
layout is unchanged (nav still one 28px row at 1440px).
Verified: scrollWidth 566 -> 390 at 390px, no element past the
viewport, all seven nav links visible and unclipped, no overflow at
768px or 1440px, HTML nesting valid, close count still 55.
Refs #1551 parent 37c7534 commit b45a39c
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
| 264 | + | |
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
267 | 278 | | |
268 | 279 | | |
269 | 280 | | |
| |||
668 | 679 | | |
669 | 680 | | |
670 | 681 | | |
671 | | - | |
| 682 | + | |
672 | 683 | | |
673 | 684 | | |
674 | 685 | | |
| |||
0 commit comments