* refactor: Move classNames from @calcom/lib to @calcom/ui * Import fix * Removed extra import of classNames * Removed tailwind-merge from @calcom/lib
7 lines
319 B
TypeScript
7 lines
319 B
TypeScript
import classNames from "@calcom/ui/classNames";
|
|
|
|
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)]");
|
|
}
|