From 03aed9c37d6c9440662f6ef77c97b2154a914b23 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 28 Jun 2026 20:05:36 -0400 Subject: [PATCH] fix: mobile-game footer selector + hub teaser honors Boundaries (Codex) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - app.css: the playing-game footer-hide targeted the old footer.site; the shared footer is footer.ub-foot now → during a mobile game the footer lingered. Retarget. - Homepage hub teaser fetched /api/brief without the reader's prefs, so an excluded topic could still be featured on /. initPrefs() + append P.param(prefs.data), matching the News Brief — boundaries now respected on the hub. (Nonblocking, noted for later: legacy /?view=… redirects are client-side and drop unrelated params like UTM.) Co-Authored-By: Claude Opus 4.8 --- frontend/src/app.css | 2 +- frontend/src/routes/+page.svelte | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/app.css b/frontend/src/app.css index caa9266..eb197a4 100644 --- a/frontend/src/app.css +++ b/frontend/src/app.css @@ -72,5 +72,5 @@ button { font-family: inherit; cursor: pointer; } /play and always removed on navigation via effect cleanup. Mobile only. */ @media (max-width: 720px) { html.playing-game, html.playing-game body { overflow: hidden; } - html.playing-game footer.site { display: none; } + html.playing-game footer.ub-foot { display: none; } } diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index 8564216..32fba52 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -1,6 +1,8 @@