fix: header overlaps in month view on short viewport (#20749)

* fix: header overlaps in month view on short viewport

* refactor: Merge classes into same condition

* fix: Remove booker margin top if isEmbed

---------

Co-authored-by: Anik Dhabal Babu <[email protected]>
Co-authored-by: Tushar Bhatt <[email protected]>
Co-authored-by: amrit <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-04-20 08:03:12 +05:30
1 parent 3731b1ef3d
commit 51212cdacf
1 file changed
+1
@@ -324,6 +324,7 @@ const BookerComponent = ({
// In a popup embed, if someone clicks outside the main(having main class or main tag), it closes the embed
"main",
"text-default flex min-h-full w-full flex-col items-center",
layout === BookerLayouts.MONTH_VIEW && !isEmbed && "my-20 ",
layout === BookerLayouts.MONTH_VIEW ? "overflow-visible" : "overflow-clip",
`${customClassNames?.bookerWrapper}`
)}>