cal.pub0.org/packages/features/bookings/Booker/utils/getBookerWrapperClasses.ts

7 lines
307 B
TypeScript

import { classNames } from "@calcom/lib";
export function getBookerWrapperClasses({ isEmbed }: { isEmbed: boolean }) {
// We don't want any margins for Embed. Any margin needed should be added by Embed user.
return classNames("flex h-full items-center justify-center", !isEmbed && "min-h-[100dvh]");
}