2
0
Files
cal/calcom/packages/features/bookings/Booker/utils/getBookerWrapperClasses.ts
2024-08-09 00:39:27 +02:00

7 lines
313 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-[calc(100dvh)]");
}