mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
fix(journey): the shared journey map reaches the screen edge, and desktop readers get the day picker
- On a phone the shared journey's map stopped at the safe area, so Safari's toolbar sat over a bare strip; it now runs to the edge (#3002) - The shared journey on desktop gains the journal's day picker, every day and its entries one click away (#2998)
This commit is contained in:
@@ -108,8 +108,8 @@ export default function MobileMapTimeline({
|
||||
if (entries.length === 0) {
|
||||
return (
|
||||
<div
|
||||
className="fixed inset-x-0 z-10"
|
||||
style={{ top: 'var(--nav-h, 0px)', bottom: 'env(safe-area-inset-bottom, 0px)' }}
|
||||
className="fixed inset-x-0 bottom-0 z-10"
|
||||
style={{ top: 'var(--nav-h, 0px)' }}
|
||||
>
|
||||
<JourneyLayeredMap
|
||||
ref={mapRef}
|
||||
@@ -147,8 +147,10 @@ export default function MobileMapTimeline({
|
||||
|
||||
return (
|
||||
<div
|
||||
className="fixed inset-x-0 z-10"
|
||||
style={{ top: 'var(--nav-h, 0px)', bottom: 'env(safe-area-inset-bottom, 0px)' }}
|
||||
// Down to the very edge: Safari draws its toolbar over the page, and a map
|
||||
// that stopped at the safe area left a bare strip under it (#3002).
|
||||
className="fixed inset-x-0 bottom-0 z-10"
|
||||
style={{ top: 'var(--nav-h, 0px)' }}
|
||||
>
|
||||
{/* Full-screen map */}
|
||||
<JourneyLayeredMap
|
||||
|
||||
Reference in New Issue
Block a user