mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 02:14:05 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user