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

This commit is contained in:
Hariom Balhara 2023-06-27 15:26:40 +05:30 committed by GitHub
parent c2e91b8378
commit 3556dda252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"