From ca41a3748faf81b988706fe2ebbc5a71effdcc2c Mon Sep 17 00:00:00 2001 From: K <61059522+kahme247@users.noreply.github.com> Date: Mon, 23 Nov 2026 11:55:08 +0200 Subject: [PATCH] fix(topbar): keep the generation-speed pill's width so it shows again (rebased from #501) --- CHANGELOG.md | 1 + components/AppShell.tsx | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21bb0fa9d..8d8311f89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ All notable changes to **omp-web** (`@kahme247/ompweb`) are documented in this f ### Fixed - **Horizontal scrollbars no longer clip file-panel tabs.** The tab row keeps its full height in narrow panels, including on mobile. +- **Show the generation-speed pill in the top bar again.** Since the header opener was split from the file-panel close control, the pill's box sized to zero width and its narrow-header rule hid it on every screen; it now keeps its width. Phone-width screens still hide it. ## [v0.7.4] - 2026-11-20 diff --git a/components/AppShell.tsx b/components/AppShell.tsx index 9398e09d2..1e5c7763b 100644 --- a/components/AppShell.tsx +++ b/components/AppShell.tsx @@ -2599,6 +2599,10 @@ export function AppShell({ appName }: { appName: string }) { className="shell-topbar-metrics" style={{ flex: "0 1 calc(10ch + 33px)", + // Inline-size containment zeroes the content width, so without an + // explicit width the right group sizes this box to 0 and the + // `topbar-speed` container query hides the pill even with room to spare. + width: "calc(10ch + 33px)", minWidth: 0, fontSize: 11, fontFamily: "var(--font-mono)",