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

pull/9828/head
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
1 changed files with 2 additions and 1 deletions

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"