From a1d1883b343141f210eed1cd4fbf77f028041306 Mon Sep 17 00:00:00 2001 From: Rushikesh <60548902+RushikeshGandhmal@users.noreply.github.com> Date: Wed, 28 Feb 2024 19:47:06 +0530 Subject: [PATCH] Large padding on small screens for embedded booking widgets. (#13855) --- .../features/bookings/Booker/utils/getBookerWrapperClasses.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/features/bookings/Booker/utils/getBookerWrapperClasses.ts b/packages/features/bookings/Booker/utils/getBookerWrapperClasses.ts index fe3e20afb0..43361e5dc6 100644 --- a/packages/features/bookings/Booker/utils/getBookerWrapperClasses.ts +++ b/packages/features/bookings/Booker/utils/getBookerWrapperClasses.ts @@ -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)]"); }