@@ -21,7 +21,7 @@ import LocationSelect from "@calcom/features/form/components/LocationSelect";
2121import { useLocale } from "@calcom/lib/hooks/useLocale" ;
2222import { trpc } from "@calcom/trpc/react" ;
2323import { Button } from "@calcom/ui/components/button" ;
24- import { DialogContent , DialogFooter } from "@calcom/ui/components/dialog" ;
24+ import { DialogContent , DialogFooter , DialogHeader } from "@calcom/ui/components/dialog" ;
2525import { Form , Input } from "@calcom/ui/components/form" ;
2626import { Icon } from "@calcom/ui/components/icon" ;
2727
@@ -202,7 +202,6 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
202202 id = "locationInput"
203203 placeholder = { t ( eventLocationType . organizerInputPlaceholder || "" ) }
204204 required
205-
206205 defaultValue = {
207206 defaultLocation ? defaultLocation [ eventLocationType . defaultValueVariable ] : undefined
208207 }
@@ -252,22 +251,17 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
252251 "locationAddress" ,
253252 "locationPhoneNumber" ,
254253 ] ) ;
255- } catch ( error ) {
254+ } catch {
256255 // Let the user retry
257256 setIsLocationUpdating ( false ) ;
258257 }
259258 } } >
260- < div className = "flex flex-row space-x-3" >
261- < div className = "bg-subtle mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:mx-0 sm:h-10 sm:w-10" >
259+ < div className = "flex flex-row md: space-x-3" >
260+ < div className = "bg-subtle mx-auto hidden h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:mx-0 sm:h-10 sm:w-10 md:flex " >
262261 < Icon name = "map-pin" className = "text-emphasis h-6 w-6" />
263262 </ div >
264- < div className = "w-full" >
265- < div className = "mt-3 text-center sm:mt-0 sm:text-left" >
266- < h3 className = "text-emphasis text-lg font-medium leading-6" id = "modal-title" >
267- { t ( "edit_location" ) }
268- </ h3 >
269- </ div >
270- < div className = "mt-3 text-center sm:mt-0 sm:text-left" />
263+ < div className = "w-full md:pt-1" >
264+ < DialogHeader title = { t ( "edit_location" ) } />
271265
272266 < p className = "text-emphasis mb-2 ml-1 mt-6 text-sm font-bold" > { t ( "current_location" ) } :</ p >
273267 < p className = "text-emphasis mb-2 ml-1 break-all text-sm" >
0 commit comments