From d800fe849a270e968baff0f07257912a9e6f17e8 Mon Sep 17 00:00:00 2001 From: zasbu <136494048+zasbu@users.noreply.github.com> Date: Mon, 9 Nov 2026 20:48:38 +1100 Subject: [PATCH] Hide the servers activity heading --- web/src/features/servers/ServerActivity.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/web/src/features/servers/ServerActivity.tsx b/web/src/features/servers/ServerActivity.tsx index 351aa67..66bb85e 100644 --- a/web/src/features/servers/ServerActivity.tsx +++ b/web/src/features/servers/ServerActivity.tsx @@ -41,7 +41,7 @@ export function ServerActivity({ servers, activity, }: { - /** Sits in the chart's top row, so the page doesn't spend a line on its own title. */ + /** Page heading for screen readers. */ heading: string; /** * The listed servers, so the headline can count online servers and players from what this viewer actually @@ -64,8 +64,7 @@ export function ServerActivity({ // The longer ranges' buckets are averages, so "now" always comes from the day's. const now = live ?? activity.day?.points.at(-1) ?? points.at(-1); const hovered = active === null ? undefined : points[active]; - const title =

{heading}

; - // Without a chart to draw, the board still opens with its title. + const title =

{heading}

; if (!current || !now || points.length < 2) return
{title}
; // The most players online at once over the whole range, from the API (which counts the bucket still in @@ -76,8 +75,6 @@ export function ServerActivity({ return (
- {/* As on Activity: on a phone the title and the range share a line and the figures take the next; the - title's column dissolves there (`contents`) so its two parts can take those places. */}
{title}