Scheduling infrastructure for absolutely everyone.
fix: Modal popup overflow issue in reschedule booking (#10976)
Ravan1fa87ae17931
diff --git a/apps/web/components/dialog/EditLocationDialog.tsx b/apps/web/components/dialog/EditLocationDialog.tsxindex b962d55971b..c1be998af38 100644--- a/apps/web/components/dialog/EditLocationDialog.tsx+++ b/apps/web/components/dialog/EditLocationDialog.tsx@@ -382,24 +382,22 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {}}/>{selectedLocation && LocationOptions}- <DialogFooter>- <div className="mt-4 flex justify-end space-x-2 rtl:space-x-reverse">- <Button- onClick={() => {- setShowLocationModal(false);- setSelectedLocation?.(undefined);- setEditingLocationType?.("");- locationFormMethods.unregister(["locationType", "locationLink"]);- }}- type="button"- color="secondary">- {t("cancel")}- </Button>+ <DialogFooter className="mt-4">+ <Button+ onClick={() => {+ setShowLocationModal(false);+ setSelectedLocation?.(undefined);+ setEditingLocationType?.("");+ locationFormMethods.unregister(["locationType", "locationLink"]);+ }}+ type="button"+ color="secondary">+ {t("cancel")}+ </Button>- <Button data-testid="update-location" type="submit">- {t("update")}- </Button>- </div>+ <Button data-testid="update-location" type="submit">+ {t("update")}+ </Button></DialogFooter></Form></div>diff --git a/apps/web/components/dialog/RescheduleDialog.tsx b/apps/web/components/dialog/RescheduleDialog.tsxindex 6109bb88be2..973bf59cbf3 100644--- a/apps/web/components/dialog/RescheduleDialog.tsx+++ b/apps/web/components/dialog/RescheduleDialog.tsx@@ -41,7 +41,7 @@ export const RescheduleDialog = (props: IRescheduleDialog) => {return (<Dialog open={isOpenDialog} onOpenChange={setIsOpenDialog}>- <DialogContent>+ <DialogContent enableOverflow><div className="flex flex-row space-x-3"><div className="flex h-10 w-10 flex-shrink-0 justify-center rounded-full bg-[#FAFAFA]"><Clock className="m-auto h-6 w-6" />