From 3556dda2523edcd19cfdec0a6e711ec83e1ef89a Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Tue, 27 Jun 2023 15:26:40 +0530 Subject: [PATCH] fix: Forever increasing scroll height in embed in month_view on certain screen size. (#9820) --- packages/features/bookings/Booker/Booker.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/features/bookings/Booker/Booker.tsx b/packages/features/bookings/Booker/Booker.tsx index 43657f0077..19b06bd51c 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" )}>