Skip to content

Commit

Permalink
fix scroll issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Jan 21, 2025
1 parent fb71bee commit 6992dd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/Appointments/AppointmentDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ const AppointmentActions = ({
{t("reschedule")}
</Button>
</SheetTrigger>
<SheetContent className="w-full sm:max-w-xl">
<SheetContent className="w-full sm:max-w-xl overflow-y-auto">
<SheetHeader>
<SheetTitle>{t("reschedule_appointment")}</SheetTitle>
</SheetHeader>
Expand Down
6 changes: 4 additions & 2 deletions src/pages/Appointments/components/AppointmentSlotPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ import { Separator } from "@/components/ui/separator";

import query from "@/Utils/request/query";
import { dateQueryString } from "@/Utils/utils";
import {
groupSlotsByAvailability,
useAvailabilityHeatmap,
} from "@/pages/Appointments/utils";
import scheduleApis from "@/types/scheduling/scheduleApis";

import { groupSlotsByAvailability, useAvailabilityHeatmap } from "../utils";

interface AppointmentSlotPickerProps {
facilityId: string;
resourceId?: string;
Expand Down

0 comments on commit 6992dd6

Please sign in to comment.