Large padding on small screens for embedded booking widgets. (#13855)

This commit is contained in:
Rushikesh
2024-02-28 14:17:06 +00:00
committed by GitHub
parent f2ae94a190
commit a1d1883b34
@@ -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)]");
}