From 931b7fcff134590eb5fd0cc4934bf10f25e401ba Mon Sep 17 00:00:00 2001 From: thepra Date: Tue, 6 Oct 2026 23:23:14 +0200 Subject: [PATCH] The globe opens full screen; a phone held sideways keeps its feed On a phone the globe is a banner above the feed; a tap on it now opens it full screen over everything, with a close button (Escape closes it too), the focus moving to that button and back, and the feed underneath kept as it was but out of reach (inert). The camera refits the new shape. Held sideways, a phone (a window at most 30rem tall, the new short: variant) has no room for the banner: the banner and its toggle give way to a button that opens the globe full screen. isMobileMedia, which picks the first visit's default, agrees with Tailwind's md now (it was off by one) and counts a phone held sideways. GlobePanel tells its state (data-globe-state). Phone flows: the globe opens full screen and closes, and a sideways phone keeps a feed at least 180px tall with no sideways scroll. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw --- Components/Feed/FeedTabs.razor | 9 +++++- Components/Feed/GlobePanel.razor | 55 ++++++++++++++++++++++++++++++-- Pages/Index.razor | 19 ++++++++--- Resources/AllStrings.it.resx | 3 ++ Resources/AllStrings.resx | 3 ++ Styles/touch.css | 3 ++ tests/e2e/Mobile/FlowTests.cs | 43 +++++++++++++++++++++++++ wwwroot/js/globe.js | 9 ++++++ wwwroot/main.js | 3 +- 9 files changed, 139 insertions(+), 8 deletions(-) diff --git a/Components/Feed/FeedTabs.razor b/Components/Feed/FeedTabs.razor index afe0984..5684578 100644 --- a/Components/Feed/FeedTabs.razor +++ b/Components/Feed/FeedTabs.razor @@ -30,7 +30,12 @@ - + + + + @* a phone held sideways has no room for the banner: the globe opens full screen *@ +