From a2a2362df0d96b9337c81c3eae329374c31f075e Mon Sep 17 00:00:00 2001 From: vahid-ahmadi Date: Wed, 26 Aug 2026 13:40:00 +0100 Subject: [PATCH 1/2] Bump the CSS cache key, and stop flex breaking inline links Two bugs, both found by measuring the live page rather than the source. ## The CSS fix from #188 was not reaching browsers style.css is cache-busted by a hand-written `?v=N` in each page's link tag, and it had sat at v=3 since #180. #187 and #188 both changed style.css without bumping it, so any browser that had already loaded `/style.css?v=3` kept serving the old file from cache and never saw the container-query fix -- confirmed on the live page: the deployed CSS contained the rule, the browser did not, and the strip stayed clipped until the stylesheet was reloaded under a different URL. Bumped to v=4 across 62 pages. Worth noting for future CSS changes: the version is manual, so it has to move whenever style.css does, or the fix ships to the CDN and stops there. ## An inline link was breaking mid-word `.vmet-notes-line` was `display: flex`, which makes EVERY child its own flex item -- including the inline in the "gated" note. It shrank to 40px and broke "working paper" across three lines, splitting the word. Replaced with a hanging indent, which reproduces the same key/body look while leaving inline content in normal flow. Only two pages use this component and only one line in it carries a link, so the blast radius is small. Site suite 1564 passed; contract clean. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Lcj9DDqam9KmVCfhEdnJcJ --- connect/index.html | 2 +- contact/index.html | 2 +- define/code/index.html | 2 +- define/index.html | 2 +- define/methodology/index.html | 2 +- define/validation/index.html | 2 +- economy/index.html | 2 +- economy/topics/growth/index.html | 2 +- economy/topics/inflation/index.html | 2 +- economy/topics/jobs/index.html | 2 +- economy/topics/public-finances/index.html | 2 +- economy/topics/rates/index.html | 2 +- economy/topics/reform/index.html | 2 +- economy/us/index.html | 2 +- economy/us/topics/growth/index.html | 2 +- economy/us/topics/inflation/index.html | 2 +- economy/us/topics/jobs/index.html | 2 +- economy/us/topics/rates/index.html | 2 +- economy/us/topics/reform/index.html | 2 +- forecasts/index.html | 2 +- forecasts/us/index.html | 2 +- frb-us/code/index.html | 2 +- frb-us/index.html | 2 +- frb-us/methodology/index.html | 2 +- frb-us/validation/index.html | 2 +- index.html | 2 +- models/index.html | 2 +- notes/2026-07-25-cpi-2026q2/index.html | 2 +- notes/releases/2026-07-29-uk_bank_rate/index.html | 2 +- notes/releases/2026-07-29-uk_gilt_10y/index.html | 2 +- notes/releases/2026-07-29-uk_gilt_20y/index.html | 2 +- notes/releases/2026-07-29-uk_gilt_5y/index.html | 2 +- notes/releases/2026-07-29-us_treasury_10y/index.html | 2 +- notes/releases/index.html | 2 +- obr/code/index.html | 2 +- obr/index.html | 2 +- obr/methodology/index.html | 2 +- obr/validation/index.html | 2 +- olg/code/index.html | 2 +- olg/index.html | 2 +- olg/methodology/index.html | 2 +- olg/validation/index.html | 2 +- papers/boe-svar/index.html | 2 +- papers/define-uk/index.html | 2 +- papers/frb-us/index.html | 2 +- papers/obr-macro/index.html | 2 +- papers/pe-microsim/index.html | 2 +- papers/psl-og/index.html | 2 +- pe/code/index.html | 2 +- pe/index.html | 2 +- pe/methodology/index.html | 2 +- pe/validation/index.html | 2 +- reports/define-uk-replication/index.html | 2 +- reports/us-hank-open-source/index.html | 2 +- style.css | 11 ++++++++--- svar/code/index.html | 2 +- svar/index.html | 2 +- svar/methodology/index.html | 2 +- svar/validation/index.html | 2 +- us-hank/code/index.html | 2 +- us-hank/index.html | 2 +- us-hank/methodology/index.html | 2 +- us-hank/validation/index.html | 2 +- 63 files changed, 70 insertions(+), 65 deletions(-) diff --git a/connect/index.html b/connect/index.html index b20cc47..cd38907 100644 --- a/connect/index.html +++ b/connect/index.html @@ -19,7 +19,7 @@ - + diff --git a/papers/frb-us/index.html b/papers/frb-us/index.html index 75c1452..4c82058 100644 --- a/papers/frb-us/index.html +++ b/papers/frb-us/index.html @@ -19,7 +19,7 @@ - + diff --git a/reports/us-hank-open-source/index.html b/reports/us-hank-open-source/index.html index 3066918..cd4b0cd 100644 --- a/reports/us-hank-open-source/index.html +++ b/reports/us-hank-open-source/index.html @@ -19,7 +19,7 @@ - +