fix(atoms): fix max-height bug for the Booker component (#15195)
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user