Scheduling infrastructure for absolutely everyone.
Add border in embed always (#10034)
Hariom Balhara354d57f3938c
diff --git a/packages/features/bookings/Booker/Booker.tsx b/packages/features/bookings/Booker/Booker.tsxindex d657fc9d491..4edf8889d31 100644--- a/packages/features/bookings/Booker/Booker.tsx+++ b/packages/features/bookings/Booker/Booker.tsx@@ -148,7 +148,8 @@ const BookerComponent = ({// Sets booker size css variables for the size of all the columns....getBookerSizeClassNames(layout, bookerState, hideEventTypeDetails),"bg-default dark:bg-muted grid max-w-full items-start dark:[color-scheme:dark] sm:transition-[width] sm:duration-300 sm:motion-reduce:transition-none md:flex-row",- layout === BookerLayouts.MONTH_VIEW && "border-subtle rounded-md border",+ // We remove border only when the content covers entire viewport. Because in embed, it can almost never be the case that it covers entire viewport, we show the border there+ (layout === BookerLayouts.MONTH_VIEW || isEmbed) && "border-subtle rounded-md border",!isEmbed && "sm:transition-[width] sm:duration-300",isEmbed && layout === BookerLayouts.MONTH_VIEW && "border-booker sm:border-booker-width",!isEmbed && layout === BookerLayouts.MONTH_VIEW && "border-subtle",