File tree Expand file tree Collapse file tree 2 files changed +16
-18
lines changed
apps/web/components/dialog Expand file tree Collapse file tree 2 files changed +16
-18
lines changed Original file line number Diff line number Diff line change @@ -382,24 +382,22 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
382382 } }
383383 />
384384 { selectedLocation && LocationOptions }
385- < DialogFooter >
386- < div className = "mt-4 flex justify-end space-x-2 rtl:space-x-reverse" >
387- < Button
388- onClick = { ( ) => {
389- setShowLocationModal ( false ) ;
390- setSelectedLocation ?.( undefined ) ;
391- setEditingLocationType ?.( "" ) ;
392- locationFormMethods . unregister ( [ "locationType" , "locationLink" ] ) ;
393- } }
394- type = "button"
395- color = "secondary" >
396- { t ( "cancel" ) }
397- </ Button >
385+ < DialogFooter className = "mt-4" >
386+ < Button
387+ onClick = { ( ) => {
388+ setShowLocationModal ( false ) ;
389+ setSelectedLocation ?.( undefined ) ;
390+ setEditingLocationType ?.( "" ) ;
391+ locationFormMethods . unregister ( [ "locationType" , "locationLink" ] ) ;
392+ } }
393+ type = "button"
394+ color = "secondary" >
395+ { t ( "cancel" ) }
396+ </ Button >
398397
399- < Button data-testid = "update-location" type = "submit" >
400- { t ( "update" ) }
401- </ Button >
402- </ div >
398+ < Button data-testid = "update-location" type = "submit" >
399+ { t ( "update" ) }
400+ </ Button >
403401 </ DialogFooter >
404402 </ Form >
405403 </ div >
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export const RescheduleDialog = (props: IRescheduleDialog) => {
4141
4242 return (
4343 < Dialog open = { isOpenDialog } onOpenChange = { setIsOpenDialog } >
44- < DialogContent >
44+ < DialogContent enableOverflow >
4545 < div className = "flex flex-row space-x-3" >
4646 < div className = "flex h-10 w-10 flex-shrink-0 justify-center rounded-full bg-[#FAFAFA]" >
4747 < Clock className = "m-auto h-6 w-6" />
You can’t perform that action at this time.
0 commit comments