Commit 8ab9a0e
committed
Split the hero stat strip at the layout floor (v2.10.1)
The live smoke suite went red on 2026-08-17: the homepage at 320px pushed
the document 5px wider than the viewport. The lead KPI row claimed four
across at every width, which the numerals can honour and the labels
cannot — a quarter of a 320px viewport is a 60px cell, and REFERENCES
sets 91px there (RÉFÉRENCES the same), so the last label ran past the
container.
Nothing rescues four-across down there. At the --text-2xs floor with the
tracking closed the word is still 72px, and only a zero gap — which would
fuse the four rules into a single line — opens the cell that far. Breaking
it yields REFERE / NCES: `hyphens: auto` is inert because Chrome ships no
hyphenation dictionary for either site's lang, so the fallback chops
mid-word. So the strip splits 2x2 below $xs and every label stays whole.
Between $xs and $sm the row is four across in an 80px cell, still short of
91px, so the label drops to the type floor with its tracking closed for
that band only — the common phone widths all land in it. The list also
gains width: 100%; it is shrink-to-fit and only ever filled the column
because four labels out-measured the space, so at 2-up the ruled strip
stopped 91px short of the search box above it.
Same defect one tier down, French only: six substats across from $md is a
97px cell at 768 and AUDIOVISUELLES sets 117px, overrunning its rule on
the most common tablet width. Same fix, over the $md-$lg band.
Verified against the proxy with local CSS at 14 widths from 320 to 1024 in
both languages: no document overflow, no label wider than its own rule, no
label wrapped. The full live suite passes there, mobile assertion included.1 parent 0fcb0cd commit 8ab9a0e
7 files changed
Lines changed: 60 additions & 17 deletions
File tree
- asset
- css
- sass
- components/banner
- config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
351 | 364 | | |
352 | 365 | | |
353 | | - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
354 | 374 | | |
355 | 375 | | |
356 | 376 | | |
357 | 377 | | |
358 | 378 | | |
359 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
360 | 384 | | |
361 | 385 | | |
362 | 386 | | |
| |||
380 | 404 | | |
381 | 405 | | |
382 | 406 | | |
383 | | - | |
384 | | - | |
385 | | - | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
386 | 410 | | |
387 | 411 | | |
388 | 412 | | |
| |||
415 | 439 | | |
416 | 440 | | |
417 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
418 | 452 | | |
419 | 453 | | |
420 | 454 | | |
| |||
474 | 508 | | |
475 | 509 | | |
476 | 510 | | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
477 | 520 | | |
478 | 521 | | |
479 | 522 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments