Skip to content

Commit fdb4cc5

Browse files
fix: replace scroll-bar with no-scrollbar in AvailableTimeSlots component (calcom#26339)
Co-authored-by: Dhairyashil Shinde <93669429+dhairyashiil@users.noreply.github.com>
1 parent 1115030 commit fdb4cc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/features/bookings/Booker/components/AvailableTimeSlots.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export const AvailableTimeSlots = ({
218218
<div
219219
ref={containerRef}
220220
className={classNames(
221-
limitHeight && "scroll-bar grow overflow-auto md:h-[400px]",
221+
limitHeight && "no-scrollbar grow overflow-auto md:h-[400px]",
222222
!limitHeight && "flex h-full w-full flex-row gap-4",
223223
`${customClassNames?.availableTimeSlotsContainer}`
224224
)}>
@@ -227,7 +227,7 @@ export const AvailableTimeSlots = ({
227227
{!isLoading &&
228228
slotsPerDay.length > 0 &&
229229
slotsPerDay.map((slots) => (
230-
<div key={slots.date} className="scroll-bar overflow-x-hidden! h-full w-full overflow-y-auto">
230+
<div key={slots.date} className="no-scrollbar overflow-x-hidden! h-full w-full overflow-y-auto">
231231
<AvailableTimes
232232
className={customClassNames?.availableTimeSlotsContainer}
233233
customClassNames={customClassNames?.availableTimes}

0 commit comments

Comments
 (0)