From 1f222e621574f50684d7f794fb7244a08de18deb Mon Sep 17 00:00:00 2001 From: Edward Langley Date: Tue, 22 Sep 2026 00:38:19 -0700 Subject: [PATCH] style: centre the view chip in its reserve, as the mode pill already is Found by looking at the screenshots rather than by a test, which is the only instrument that reaches this: `#view-name` is now a fixed 16ch, and "Plan" left-aligned in it read as a pill that had failed to shrink rather than as a deliberately reserved slot. Centring is what makes the reserve legible as a reserve. No test moves -- the header spec measures boxes, and text alignment inside a fixed box changes none of them. That is the honest scope of the guard and not a gap in it. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01FC2jVn8Au7E9JPkw6bwXXH --- web/style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/style.css b/web/style.css index 84fa655e..662aeee9 100644 --- a/web/style.css +++ b/web/style.css @@ -126,6 +126,9 @@ header h1 { #view-name { flex: none; width: 16ch; + /* Centred for the same reason the mode pill is: the reserve is wider than + most names, and left-aligned text in it reads as a mistake. */ + text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;