2
0
Files
cal/calcom/packages/features/bookings/Booker/utils/getBookerWrapperClasses.ts

7 lines
313 B
TypeScript
Raw Normal View History

2024-08-09 00:39:27 +02:00
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)]");
}