Skip to content

Scheduling infrastructure for absolutely everyone.

fix: replace scroll-bar with no-scrollbar in AvailableTimeSlots component (#26339)

Kartik Labhshetwarfdb4cc5f700f
diff --git a/packages/features/bookings/Booker/components/AvailableTimeSlots.tsx b/packages/features/bookings/Booker/components/AvailableTimeSlots.tsx
index f05d7667964..34f67e690c5 100644
--- a/packages/features/bookings/Booker/components/AvailableTimeSlots.tsx
+++ b/packages/features/bookings/Booker/components/AvailableTimeSlots.tsx
@@ -218,7 +218,7 @@ export const AvailableTimeSlots = ({
<div
ref={containerRef}
className={classNames(
- limitHeight && "scroll-bar grow overflow-auto md:h-[400px]",
+ limitHeight && "no-scrollbar grow overflow-auto md:h-[400px]",
!limitHeight && "flex h-full w-full flex-row gap-4",
`${customClassNames?.availableTimeSlotsContainer}`
)}>
@@ -227,7 +227,7 @@ export const AvailableTimeSlots = ({
{!isLoading &&
slotsPerDay.length > 0 &&
slotsPerDay.map((slots) => (
- <div key={slots.date} className="scroll-bar overflow-x-hidden! h-full w-full overflow-y-auto">
+ <div key={slots.date} className="no-scrollbar overflow-x-hidden! h-full w-full overflow-y-auto">
<AvailableTimes
className={customClassNames?.availableTimeSlotsContainer}
customClassNames={customClassNames?.availableTimes}