Large padding on small screens for embedded booking widgets. (#13855)
This commit is contained in:
@@ -2,5 +2,5 @@ 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]");
|
||||
return classNames("flex h-full items-center justify-center", !isEmbed && "min-h-[calc(100dvh)]");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user