diff options
| author | Fuwn <[email protected]> | 2026-05-19 02:28:49 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-19 02:28:49 +0000 |
| commit | e65a7257f5963d49116ab1cca9ed35cab3102c45 (patch) | |
| tree | 176527e6275bac99264a2bcdbf6d9ed8b25eaae0 /src/lib/Locale/english.ts | |
| parent | feat(details): animate details open/close via Web Animations API (diff) | |
| download | due.moe-e65a7257f5963d49116ab1cca9ed35cab3102c45.tar.xz due.moe-e65a7257f5963d49116ab1cca9ed35cab3102c45.zip | |
perf(load): font-display swap and content-visibility on badge wall
Two unrelated modernisations:
- Adds &display=swap to the Roboto and Overpass Google Fonts URLs
imported by Wrapped's stylesheet. Avoids the invisible-text flash
during font load on the Wrapped page; DM Sans already had this.
- Adds content-visibility: auto to each child of .badges (the grid
on the badge wall page). Browser skips layout and paint for off
-screen badges until they scroll into view. contain-intrinsic-size
auto 8rem reserves placeholder space so the scrollbar stays stable.
Diffstat (limited to 'src/lib/Locale/english.ts')
0 files changed, 0 insertions, 0 deletions