fix(tours): open the tour dialogs in the middle of the screen

The walk from a Google Maps link, the take-over from another trip and the
other new tour dialogs sat at the top of the screen; they now open centred
like the planner's own dialogs.
This commit is contained in:
Maurice
2026-10-20 20:15:05 +02:00
parent 4009588078
commit 810feba413
8 changed files with 0 additions and 8 deletions
@@ -151,7 +151,6 @@ export function TourActivityStatsDialog({
onClose={onClose}
labelledBy={labelId}
width="editor"
align="top"
header={
<DialogHeader
tile={
@@ -208,7 +208,6 @@ export default function TourActivityDialog({
onClose={state.closeAssign}
labelledBy={labelId}
width="detail"
align="top"
blocked={state.busy || importing}
header={
<DialogHeader
@@ -356,7 +356,6 @@ export function CollectionTourTakeOverDialog({ takeOver }: { takeOver: Collectio
onClose={takeOver.close}
labelledBy={labelId}
width={takeOver.done ? 'narrow' : 'wide'}
align="top"
blocked={takeOver.taking}
header={
<DialogHeader
@@ -121,7 +121,6 @@ export function SaveTourToCollectionDialog({ keep, tourName }: { keep: SaveTourT
onClose={keep.close}
labelledBy={labelId}
width="narrow"
align="top"
blocked={keep.saving}
header={
<DialogHeader
@@ -71,7 +71,6 @@ export function HorseRouteDialog({
onClose={onClose}
labelledBy={labelId}
width="editor"
align="top"
header={
<DialogHeader
tile={
@@ -192,7 +192,6 @@ export function TourLibraryDialog({ library }: { library: TourLibrary }) {
onClose={library.close}
labelledBy={labelId}
width="wide"
align="top"
blocked={library.taking}
header={
<DialogHeader
@@ -100,7 +100,6 @@ export function TourPackingLinkDialog({ packing, tourName }: { packing: TourPack
onClose={packing.close}
labelledBy={labelId}
width="narrow"
align="top"
blocked={packing.saving}
header={
<DialogHeader
@@ -220,7 +220,6 @@ export function WalkImportDialog({
onClose={walkImport.close}
labelledBy={titleId}
width="narrow"
align="top"
onSubmit={submit}
header={head}
footer={<WalkImportFooter walkImport={walkImport} />}