From e65951282d4206d66a3e8db3b2477b08ad61f2de Mon Sep 17 00:00:00 2001 From: Thomas Kosiewski Date: Mon, 26 Oct 2026 19:39:20 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20fix:=20keep=20geist=201.5.1's=20?= =?UTF-8?q?Geist=20Mono=20vertical=20metrics=20so=20the=20static=20view=20?= =?UTF-8?q?stays=20the=20phone=20LCP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/browser/styles/globals.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/browser/styles/globals.css b/src/browser/styles/globals.css index 96ae26b3ff3..9acc6965889 100644 --- a/src/browser/styles/globals.css +++ b/src/browser/styles/globals.css @@ -57,6 +57,14 @@ font-weight: 100 900; font-style: normal; font-display: swap; + /* The vertical metrics of geist 1.5.1's Geist Mono. geist 1.8.1 raised them from 955/245 to + 1005/295 units (a 1.3 em text box, was 1.2 em; the baseline stays where it was). The phone + static workspace view paints code before this font loads (no preload, see staticAssets.ts), so + the live code line's taller box was a new, later LCP entry: seeded phone Lighthouse 93 -> 70 + (#7637). Keep the live box no larger than the static copy's. */ + ascent-override: 95.5%; + descent-override: 24.5%; + line-gap-override: 0%; } @import "./theme-dark.css";