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

7 lines
307 B
TypeScript
Raw Normal View History

2023-07-25 09:58:47 +00: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-[100dvh]");
}