Skip to content

Scheduling infrastructure for absolutely everyone.

fix(atoms): fix max-height bug for the Booker component (#15195)

Olga Stogova1174cb0d8e9e
diff --git a/packages/features/bookings/Booker/Booker.tsx b/packages/features/bookings/Booker/Booker.tsx
index b08d88bc25e..6e0e21ea779 100644
--- a/packages/features/bookings/Booker/Booker.tsx
+++ b/packages/features/bookings/Booker/Booker.tsx
@@ -322,13 +322,7 @@ const BookerComponent = ({
)}
</BookerSection>
)}
- <StickyOnDesktop
- key="meta"
- className={classNames(
- "relative z-10 flex [grid-area:meta]",
- // Important: In Embed if we make min-height:100vh, it will cause the height to continuously keep on increasing
- layout !== BookerLayouts.MONTH_VIEW && !isEmbed && "sm:min-h-screen"
- )}>
+ <StickyOnDesktop key="meta" className={classNames("relative z-10 flex [grid-area:meta]")}>
<BookerSection
area="meta"
className="max-w-screen flex w-full flex-col md:w-[var(--booker-meta-width)]">
@@ -353,7 +347,7 @@ const BookerComponent = ({
/>
{layout !== BookerLayouts.MONTH_VIEW &&
!(layout === "mobile" && bookerState === "booking") && (
- <div className="mt-auto px-5 py-3 ">
+ <div className="mt-auto px-5 py-3">
<DatePicker event={event} schedule={schedule} scrollToTimeSlots={scrollToTimeSlots} />
</div>
)}