fix(mobile): a tour opens in a sheet instead of the desktop dialog

A tour tapped in the plan opened the desktop detail dialog in a hand-built
overlay: no slide, no drag to close, the desktop's frame on a phone. The
dialog now renders into the frame it is given; on the phone that is a sheet
like every other detail (MTourDetailShell), with the tour's name as its
title, its whole content and every action, the back gesture and an exit
animation.
This commit is contained in:
Maurice
2026-11-06 16:22:23 +01:00
parent f6bcdb8e6f
commit 2aa25e3fe7
6 changed files with 82 additions and 61 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { NEUTRAL_TINT } from './DialogShell'
import { Tooltip } from './Tooltip'
import { centredMapCard } from '../Map/centredMapCard'
interface DetailShellProps {
export interface DetailShellProps {
header: ReactNode
children: ReactNode
footer?: ReactNode