Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Forever increasing scroll height in embed in month_view on certain screen size. (#9820)

Hariom Balhara3556dda2523e
diff --git a/packages/features/bookings/Booker/Booker.tsx b/packages/features/bookings/Booker/Booker.tsx
index 43657f00777..19b06bd51cf 100644
--- a/packages/features/bookings/Booker/Booker.tsx
+++ b/packages/features/bookings/Booker/Booker.tsx
@@ -169,7 +169,8 @@ const BookerComponent = ({
key="meta"
className={classNames(
"relative z-10 flex [grid-area:meta]",
- layout !== BookerLayouts.MONTH_VIEW && "sm:min-h-screen"
+ // 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"
)}>
<BookerSection
area="meta"