This commit is contained in:
sean-brydon
2024-06-13 22:18:36 +00:00
committed by GitHub
parent 70b4e3a9c6
commit 0f4b9b2a6e
@@ -272,8 +272,6 @@ const BookerComponent = ({
className={classNames(
...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`,
// We can't let embed have margin from top because for inline embed user wouldn't want that extra space at the top
!isEmbed ? "md:mt-16" : "",
// 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",
!isEmbed && "sm:transition-[width] sm:duration-300",