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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw
This commit is contained in:
1 parent
8f15d0d5c1
commit
931b7fcff1
9 files changed
+139
-8
No files matched your search
@@ -1823,4 +1823,7 @@
|
||||
<data name="New post" xml:space="preserve">
|
||||
<value>Nuovo post</value>
|
||||
</data>
|
||||
<data name="Open the globe full screen" xml:space="preserve">
|
||||
<value>Apri il globo a schermo intero</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1823,4 +1823,7 @@
|
||||
<data name="New post" xml:space="preserve">
|
||||
<value>New post</value>
|
||||
</data>
|
||||
<data name="Open the globe full screen" xml:space="preserve">
|
||||
<value>Open the globe full screen</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in new issue
Block a user