Skip to content

Commit

Permalink
Large padding on small screens for embedded booking widgets. (calcom#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RushikeshGandhmal authored Feb 28, 2024
1 parent f2ae94a commit a1d1883
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)]");
}

0 comments on commit a1d1883

Please sign in to comment.